瀏覽代碼

修改远程推送

cuimengchao 3 年之前
父節點
當前提交
76aeb397f0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/yx/face/service/impl/SystemPushConfigServiceImpl.java

+ 1 - 1
src/main/java/com/yx/face/service/impl/SystemPushConfigServiceImpl.java

@@ -75,7 +75,7 @@ public class SystemPushConfigServiceImpl implements SystemPushConfigService {
         }
         Date date = new Date();
         SystemPushConfig config = JSONObject.parseObject(JSON.toJSONString(dto), SystemPushConfig.class);
-        config.setAccount(primary.getNickname());
+        config.setAccount(primary.getUsername());
         config.setAccountId(primary.getId());
         config.setAdminId(userId);
         config.setCreateTime(date);