From ef62c22f0253a8448481280cbd44f0390786f185 Mon Sep 17 00:00:00 2001 From: nieziyan Date: Tue, 12 Dec 2023 19:56:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Aparam=20name=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/jeecg/modules/qiyeEmail/base/Property.java | 4 ++-- .../main/java/org/jeecg/modules/qiyeEmail/base/RParam.java | 6 +++--- .../jeecg/modules/service/impl/SysEmailLogServiceImpl.java | 4 +--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/Property.java b/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/Property.java index c844e8aa..00e1b81b 100644 --- a/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/Property.java +++ b/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/Property.java @@ -21,9 +21,9 @@ public class Property { orgOpenId = env.getProperty("qiyeEmail.orgOpenId"); authCode = env.getProperty("qiyeEmail.authCode"); urlPrefix = env.getProperty("qiyeEmail.urlPrefix"); - /*appId = "qy20231114144636B85B"; + /*appId = "qy202312121855378631"; orgOpenId = "9c96b0ec1e6be89a"; - authCode = "O1eSXJwU"; + authCode = "fSxzDXoG"; urlPrefix = "https://api.qiye.163.com";*/ } diff --git a/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/RParam.java b/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/RParam.java index 8e167f71..04e52cc1 100644 --- a/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/RParam.java +++ b/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/qiyeEmail/base/RParam.java @@ -8,7 +8,7 @@ public class RParam { // 获取账号配额信息 相关参数 private String domain; // 必须 - private String accountName; // 必须 + private String account_name; // 必须 // 获取企业邮箱域名列表 相关参数 private String orgOpenId; // 必须 @@ -17,8 +17,8 @@ public class RParam { private String fid = "1"; // 邮箱文件夹 ID,使用英文半角逗号分开,默认传 1,5 1-收件箱;2-草稿箱;3-已发送;4-已删除;5-垃圾邮件 - public RParam(String accountName, String domain) { - this.accountName = accountName; + public RParam(String account_name, String domain) { + this.account_name = account_name; this.domain = domain; } diff --git a/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/service/impl/SysEmailLogServiceImpl.java b/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/service/impl/SysEmailLogServiceImpl.java index 94ea34b1..f0e70f52 100644 --- a/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/service/impl/SysEmailLogServiceImpl.java +++ b/jeecg-module-abnormal-alarm/src/main/java/org/jeecg/modules/service/impl/SysEmailLogServiceImpl.java @@ -91,9 +91,7 @@ public class SysEmailLogServiceImpl extends ServiceImpl