正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -77,7 +77,7 @@ class LoginController extends HomeBaseController{ | @@ -77,7 +77,7 @@ class LoginController extends HomeBaseController{ | ||
77 | $response=cmf_curl_get($loginUrl); | 77 | $response=cmf_curl_get($loginUrl); |
78 | $response=json_decode($response,true); | 78 | $response=json_decode($response,true); |
79 | if (!empty($response['errcode'])) { | 79 | if (!empty($response['errcode'])) { |
80 | - $this->error('操作失败!'); | 80 | + $this->apiResponse(303,'获取session_key失败'); |
81 | } | 81 | } |
82 | $openid = $response['openid']; | 82 | $openid = $response['openid']; |
83 | $sessionKey = $response['session_key']; | 83 | $sessionKey = $response['session_key']; |
-
请 注册 或 登录 后发表评论