Commit 97dc18de authored by clone's avatar clone

bug

parent eef9f43e
......@@ -88,9 +88,9 @@ class WxSdk extends Basic
$data["user_pic"] = !empty($user_pic) ? HEADERIMGURL . $user_pic : $other_pic;
$data["AuthToken"] = $jwt->createToken($jwt_data);;
return $this->response("200", "request success", [ "data" => $data ]);
return $this->response("200", "request success", $data );
} elseif ($id > 0 && count($user_info) <= 0) {
return $this->response("200", "request success", [ "data" => null ]);
return $this->response("200", "request success");
} else {
return $this->response("101", "request exception");
}
......
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