Commit 0e6a5a5a authored by 赵啸非's avatar 赵啸非

添加用户登录鉴权

parent ff7ac0c7
......@@ -207,7 +207,7 @@ public class UserController extends BaseCRUDJsonBodyMappingController<UserServic
try {
String userStr = cacheService.get(userKey);
return Rest.ok(userStr);
return Rest.ok("获取token成功!",userStr);
} catch (Exception e) {
log.error("查询token错误", e);
return Rest.fail("获取token异常!");
......
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