Commit b45e5874 authored by 黄奎's avatar 黄奎

页面修改

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