code review by fei.hong: do coupon huodong final sale three times
Showing
2 changed files
with
11 additions
and
11 deletions
@@ -23,17 +23,17 @@ class Yohobuy | @@ -23,17 +23,17 @@ class Yohobuy | ||
23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; | 23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; |
24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
25 | 25 | ||
26 | - const API_URL = 'http://apih5.yoho.cn/'; | ||
27 | - const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | - const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
29 | - const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
30 | - const API_OLD = 'http://api2.open.yohobuy.com/'; | 26 | +// const API_URL = 'http://apih5.yoho.cn/'; |
27 | +// const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | +// const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
29 | +// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
30 | +// const API_OLD = 'http://api2.open.yohobuy.com/'; | ||
31 | 31 | ||
32 | /* 测试环境 */ | 32 | /* 测试环境 */ |
33 | -// const API_URL = 'http://testapi.yoho.cn:28078/'; | ||
34 | -// const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | ||
35 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
36 | -// const API_OLD = 'http://test2.open.yohobuy.com/'; | 33 | + const API_URL = 'http://testapi.yoho.cn:28078/'; |
34 | + const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | ||
35 | + const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
36 | + const API_OLD = 'http://test2.open.yohobuy.com/'; | ||
37 | 37 | ||
38 | /* 预览环境 */ | 38 | /* 预览环境 */ |
39 | // const API_URL = 'http://preapi.yoho.cn/'; | 39 | // const API_URL = 'http://preapi.yoho.cn/'; |
@@ -800,7 +800,7 @@ class Helpers | @@ -800,7 +800,7 @@ class Helpers | ||
800 | */ | 800 | */ |
801 | public static function syncUserSession($uid, $refer = '', $callback = 'call') | 801 | public static function syncUserSession($uid, $refer = '', $callback = 'call') |
802 | { | 802 | { |
803 | - return 'http://mapi.yohobuy.com/Passport/session/index?callback=' . $callback | 803 | + return 'http://m1.yohobuy.com/Passport/session/index?callback=' . $callback |
804 | . '&sign=' . md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer; | 804 | . '&sign=' . md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer; |
805 | } | 805 | } |
806 | 806 | ||
@@ -816,7 +816,7 @@ class Helpers | @@ -816,7 +816,7 @@ class Helpers | ||
816 | */ | 816 | */ |
817 | public static function logoutSession($token, $refer = '', $callback = 'call') | 817 | public static function logoutSession($token, $refer = '', $callback = 'call') |
818 | { | 818 | { |
819 | - return 'http://mapi.yohobuy.com/Passport/session/logout?callback=' . $callback | 819 | + return 'http://m1.yohobuy.com/Passport/session/logout?callback=' . $callback |
820 | . '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer; | 820 | . '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer; |
821 | } | 821 | } |
822 | 822 |
-
Please register or login to post a comment