...
|
...
|
@@ -745,7 +745,7 @@ class Helpers |
|
|
*/
|
|
|
public static function syncUserSession($uid, $refer = '', $callback = 'call')
|
|
|
{
|
|
|
return 'http://m1.yohobuy.com/Passport/session/index?callback=' . $callback
|
|
|
return 'http://mapi.yohobuy.com/Passport/session/index?callback=' . $callback
|
|
|
. '&sign=' .md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -761,7 +761,7 @@ class Helpers |
|
|
*/
|
|
|
public static function logoutSession($token, $refer = '', $callback = 'call')
|
|
|
{
|
|
|
return 'http://m1.yohobuy.com/Passport/session/logout?callback=' . $callback
|
|
|
return 'http://mapi.yohobuy.com/Passport/session/logout?callback=' . $callback
|
|
|
. '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer;
|
|
|
}
|
|
|
|
...
|
...
|
|