|
|
@@ -876,6 +876,8 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
|
|
|
.eq(ChatgptUser::getRelationId, relationId)
|
|
|
.last("limit 1"));
|
|
|
if (chatgptUser != null) {
|
|
|
+ chatgptUser.setExpireTime(relation.getExpiryTime());
|
|
|
+ chatgptUserMapper.updateById(chatgptUser);
|
|
|
return chatgptUser.getUserToken();
|
|
|
}
|
|
|
}
|