作者 景龙
1 个管道 的构建 通过 耗费 0 秒

调试微博登录接口

@@ -417,7 +417,8 @@ class LoginController extends HomeBaseController @@ -417,7 +417,8 @@ class LoginController extends HomeBaseController
417 } 417 }
418 $userInfo = $this->findThird($where); 418 $userInfo = $this->findThird($where);
419 cmf_update_current_user($userInfo); 419 cmf_update_current_user($userInfo);
420 - $this->redirect('/'); 420 + $this->wb_share();
  421 +// $this->redirect('/');
421 } 422 }
422 423
423 //微博分享 424 //微博分享
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 <img src="__TMPL__/public/assets/starImg/aicon_90.png" alt=""> 41 <img src="__TMPL__/public/assets/starImg/aicon_90.png" alt="">
42 </div> 42 </div>
43 <input type="hidden" name="client_id" value="737607150"> 43 <input type="hidden" name="client_id" value="737607150">
44 - <input type="hidden" name="redirect_uri" value="http://www.xingqiu.cn/portal/login/wb_login"> 44 + <input type="hidden" name="redirect_uri" value="http://www.starplanet.cn/portal/login/wb_login">
45 </form> 45 </form>
46 </div> 46 </div>
47 </div> 47 </div>
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 <p>168</p> 28 <p>168</p>
29 </div> 29 </div>
30 <input type="hidden" name="client_id" value="737607150"> 30 <input type="hidden" name="client_id" value="737607150">
31 - <input type="hidden" name="redirect_uri" value="http://www.xingqiu.cn/portal/login/wb_login"> 31 + <input type="hidden" name="redirect_uri" value="http://www.starplanet.cn/portal/login/wb_login">
32 <input type="hidden" name="flag" value="1"> 32 <input type="hidden" name="flag" value="1">
33 </form> 33 </form>
34 34