|
@@ -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
|
|