token延期
This commit is contained in:
parent
844da2f9e5
commit
457b0f4048
@ -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);
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user