Commit d18634ea authored by clone's avatar clone

bug

parent 4af0702a
...@@ -64,7 +64,7 @@ class WxSdk extends Basic ...@@ -64,7 +64,7 @@ class WxSdk extends Basic
if ($id > 0) { if ($id > 0) {
return $this->response("200", "request success", $wxInfoObj); return $this->response("200", "request success", [ "user_id" => $wxInfoObj[0]["user_id"] ]);
} else { } else {
return $this->response("101", "request exception"); return $this->response("101", "request exception");
} }
...@@ -101,8 +101,8 @@ class WxSdk extends Basic ...@@ -101,8 +101,8 @@ class WxSdk extends Basic
} catch (Exception $exception) { } catch (Exception $exception) {
return $this->response("101", "request error:" . $exception); return $this->response("101", "request error:" . $exception);
} }
}else{ } else {
return $this->response("101", "没有找到用户对应微信记录" ); return $this->response("101", "没有找到用户对应微信记录");
} }
} }
......
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