Commit 0821ff70 authored by 黄奎's avatar 黄奎

页面修改

parent ecbe13bb
...@@ -214,6 +214,9 @@ namespace Mall.WebApi.Controllers.User ...@@ -214,6 +214,9 @@ namespace Mall.WebApi.Controllers.User
return ApiResult.CouponFailed(ResultCode.Fail, "", ""); return ApiResult.CouponFailed(ResultCode.Fail, "", "");
// return ApiResult.Failed("未能查询到用户信息"); // return ApiResult.Failed("未能查询到用户信息");
} }
if (umodel.Blacklist == 1) {
return ApiResult.Failed("账号已被冻结,请联系运营商");
}
TokenUserInfo userInfo = new TokenUserInfo { uid = umodel.Id.ToString(), requestFrom = ApiRequestFromEnum.MiniProgram }; TokenUserInfo userInfo = new TokenUserInfo { uid = umodel.Id.ToString(), requestFrom = ApiRequestFromEnum.MiniProgram };
#region JWT #region JWT
IDateTimeProvider provider = new UtcDateTimeProvider(); IDateTimeProvider provider = new UtcDateTimeProvider();
......
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