Authored by 郝肖肖

syncUserSession http

... ... @@ -964,9 +964,9 @@ class Helpers
public static function syncUserSession($uid, $refer = '', $callback = 'call')
{
if(APPLICATION_ENV == 'production' || APPLICATION_ENV == 'preview') {
$domain = '//mapi.yohobuy.com';
$domain = 'http://mapi.yohobuy.com';
} else {
$domain = '//m1.yohobuy.com';
$domain = 'http://m1.yohobuy.com';
}
return $domain.'/Passport/session/index?callback=' . $callback
. '&sign=' . md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer;
... ...