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