Selaa lähdekoodia

打印错误信息

yumeng 5 vuotta sitten
vanhempi
commit
4fadda1ed5

+ 4 - 4
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/CallbackController.java

@@ -318,7 +318,7 @@ public class CallbackController {
                             Boolean getSuccess = (Boolean) advertiserDataMap.get("success");
                             if (null == getSuccess || !getSuccess) {
                                 log.info("获取广告主信息失败,accountId:{},message:{}", token.getAccountId(), (String) advertiserDataMap.get("message"));
-                                text.append("accountId:" + advertiser_id + "暂未获取数据权限,请检查账户")
+                                text.append("账户id:" + advertiser_id + "暂未获取数据权限,请检查账户")
                                         .append("<br/>");
                                 continue;
                             }
@@ -331,7 +331,7 @@ public class CallbackController {
                             userAllocationQueryWrapper.last("limit 1");
                             UserAllocation checkUserAllocation = allocationMapper.selectOne(userAllocationQueryWrapper);
                             if (!Check.isNull(checkUserAllocation)) {
-                                text.append("accountId:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
+                                text.append("账户id:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
                                         .append("<br/>");
                                 continue;
                             }
@@ -385,11 +385,11 @@ public class CallbackController {
                     userAllocationQueryWrapper.last("limit 1");
                     UserAllocation checkUserAllocation = allocationMapper.selectOne(userAllocationQueryWrapper);
                     if (!Check.isNull(checkUserAllocation)) {
-                        text.append("accountId:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
+                        text.append("账户id:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
                                 .append("<br/>");
                         continue;
                     }
-                    text.append("accountId:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定成功。").append("<br/>");
+                    text.append("账户id:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定成功。").append("<br/>");
                     String systemType = json.getString("systemType");
                     UserAllocation userAllocation = new UserAllocation();
                     userAllocation.setUserId(userId);