Commit 9eb97e40 authored by zazaname's avatar zazaname

调试

parent 36f797d8
......@@ -31,8 +31,6 @@ class Jiuzi implements ISdkFactory
];
//请求url,获取返回值
$response = Requests::post($this->login_url,[],$postParam)->body;
dingdingLog($response);
//$response = '{"message":"ok","statusCode":200,"data":{"partnerid":"own","user_id":34,"openid":"qwewqqwe","age":0}}';
//是否验证成功
$response_arr = json_decode($response,true);
if ($response_arr['statusCode'] === 200) {
......
......@@ -48,7 +48,6 @@ class LoginService
}
//登录成功则返回userinfo
$loginInfo = $sdkManager->login($verInfo, $gameInfo, $params);
dingdingLog($loginInfo);
if (!$loginInfo) {
return error('渠道登录失败!');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment