Commit b45e5874 authored by 黄奎's avatar 黄奎

页面修改

parent 5fa24e2f
......@@ -108,7 +108,7 @@ namespace Mall.CacheManager.User
var extModel = tenantRepository.GetEntity<RB_Tenant_Extend>(NewTenantId);
if (extModel != null)
{
userInfo = new UserInfo
userInfo = new UserInfo
{
TenantId = extModel.TenantId,
Account = extModel.Account,
......@@ -123,7 +123,7 @@ namespace Mall.CacheManager.User
Token = token,
SecretKey = "",
};
UserInfoSet(UserModuleCacheKeyConfig.Mall_Login_Info + TenantId, userInfo, Config.JwtExpirTime);
UserInfoSet(UserModuleCacheKeyConfig.Mall_Login_Info + TenantId, userInfo, Config.JwtExpirTime);
}
}
}
......@@ -132,7 +132,7 @@ namespace Mall.CacheManager.User
{
userInfo = new UserInfo();
}
return userInfo;
}
......
......@@ -199,7 +199,6 @@ namespace Mall.WebApi.Controllers.User
var model = TenantModule.GetTenantModule(base.UserInfo.TenantId);
return ApiResult.Success("", model);
}
return ApiResult.Failed(message: "参数错误!");
}
......
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