zoujiajian 1 سال پیش
والد
کامیت
40d6964ec5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/group/GroupRelationController.java

+ 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) {