Commit 78ac8bc8 authored by zazaname's avatar zazaname

调试

parent a6e4752f
......@@ -30,8 +30,8 @@ class Jiuzi implements ISdkFactory
'version' => $request['unionId'] ?? 1,
];
//请求url,获取返回值
//$response = Requests::post($this->login_url,[],$postParam)->body;
$response = '{"message":"ok","statusCode":200,"data":{"partnerid":"own","user_id":34,"openid":"qwewqqwe","age":0}}';
$response = Requests::post($this->login_url,[],$postParam)->body;
//$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) {
......
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