Authored by uedxwg

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -555,7 +555,8 @@ class Helpers @@ -555,7 +555,8 @@ class Helpers
555 */ 555 */
556 public static function syncUserSession($uid, $refer = '', $callback='call') 556 public static function syncUserSession($uid, $refer = '', $callback='call')
557 { 557 {
558 - return 'http://m1.yohobuy.com/Passport/session/index?callback=' . $callback . '&uid=' . $uid . '&go=' . $refer; 558 + return 'http://m1.yohobuy.com/Passport/session/index?callback=' . $callback
  559 + . '&sign=' . md5($uid . 'Js8Yn0!EwPM45-ws') . '&uid=' . $uid . '&go=' . $refer;
559 } 560 }
560 561
561 } 562 }
@@ -221,7 +221,7 @@ class LoginController extends AbstractAction @@ -221,7 +221,7 @@ class LoginController extends AbstractAction
221 */ 221 */
222 public function sinacallbackAction() 222 public function sinacallbackAction()
223 { 223 {
224 - $sina = Factory::create('sina'); 224 + $sina = Factory::create('sinaweibo');
225 $access = $sina->getAccessToken(); 225 $access = $sina->getAccessToken();
226 /* 获取QQ腾讯用户的详细信息 */ 226 /* 获取QQ腾讯用户的详细信息 */
227 $partnerInfo = $sina->getUserInfo($access); 227 $partnerInfo = $sina->getUserInfo($access);