Commit f934713d by 庄欣

fix bug

parent e5756b36
......@@ -148,7 +148,7 @@ class User extends ControllerBase
{
try {
$client = app("client");
$res = $client->get($this->prefix."/u/".$id);
$res = $client->get("user/u/".$id);
return Response::success($res);
} catch (ApiUnauthorized $e) {
return Response::error($e->getMessage(), HttpStatus::HttpUnauthorized);
......
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