zoujiajian hace 1 año
padre
commit
40d6964ec5

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/group/GroupRelationController.java

@@ -195,7 +195,7 @@ public class GroupRelationController {
                 .set(GroupsRelation::getAccount, relation.getAccount())
                 .set(GroupsRelation::getPassword, relation.getPassword())
                 .set(GroupsRelation::getContact, relation.getContact())
-                .set(GroupsRelation::getGptToken, relation.getGptToken())
+                .set(StrUtil.isNotBlank(relation.getGptToken()), GroupsRelation::getGptToken, relation.getGptToken())
                 .eq(GroupsRelation::getId, relation.getId());
         if (re.getRechargeStatus() != null) {
             if (re.getRechargeStatus() == GroupsRelation.RechargeStatus.complete) {