token延期

This commit is contained in:
马梓彭 2026-04-03 17:10:22 +08:00
parent 844da2f9e5
commit 457b0f4048
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ public class MyController : IDynamicApiController
Points = p.Points, Points = p.Points,
Type = (int)p.Type, Type = (int)p.Type,
CreatedTime = p.CreatedTime, CreatedTime = p.CreatedTime,
Rank = null // 积分记录表暂无名次字段,后续若有需要可补充 Rank = 1 // 积分记录表暂无名次字段,后续若有需要可补充
}) })
.OrderByDescending(p => p.CreatedTime); .OrderByDescending(p => p.CreatedTime);

View File

@ -198,7 +198,7 @@ public class OAuthController : IDynamicApiController
[AuthClaimsConst.AccountKey] = appUser.Mobile, [AuthClaimsConst.AccountKey] = appUser.Mobile,
[AuthClaimsConst.UuidKey] = uniqueId, [AuthClaimsConst.UuidKey] = uniqueId,
[AuthClaimsConst.AuthPlatformTypeKey] = AuthPlatformType.WeChatApplet [AuthClaimsConst.AuthPlatformTypeKey] = AuthPlatformType.WeChatApplet
}); },100000);
string refreshToken = JWTEncryption.GenerateRefreshToken(accessToken); string refreshToken = JWTEncryption.GenerateRefreshToken(accessToken);