mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-17 15:06:37 +08:00
同步
This commit is contained in:
@@ -50,6 +50,8 @@ namespace Yi.Framework.ApiMicroservice.Controllers
|
||||
if ( user_data!=null)
|
||||
{
|
||||
var token = MakeJwt.app(new jwtUser() {user=user_data,menuIds= menuList});
|
||||
|
||||
JobModel.visitNum += 1;
|
||||
return Result.Success().SetData(new { user = new { user_data.id, user_data.username, user_data.introduction, user_data.icon, user_data.nick }, token });
|
||||
}
|
||||
return Result.Error();
|
||||
|
||||
Reference in New Issue
Block a user