fix:param name错误
This commit is contained in:
parent
f5f55479a3
commit
ef62c22f02
|
@ -21,9 +21,9 @@ public class Property {
|
||||||
orgOpenId = env.getProperty("qiyeEmail.orgOpenId");
|
orgOpenId = env.getProperty("qiyeEmail.orgOpenId");
|
||||||
authCode = env.getProperty("qiyeEmail.authCode");
|
authCode = env.getProperty("qiyeEmail.authCode");
|
||||||
urlPrefix = env.getProperty("qiyeEmail.urlPrefix");
|
urlPrefix = env.getProperty("qiyeEmail.urlPrefix");
|
||||||
/*appId = "qy20231114144636B85B";
|
/*appId = "qy202312121855378631";
|
||||||
orgOpenId = "9c96b0ec1e6be89a";
|
orgOpenId = "9c96b0ec1e6be89a";
|
||||||
authCode = "O1eSXJwU";
|
authCode = "fSxzDXoG";
|
||||||
urlPrefix = "https://api.qiye.163.com";*/
|
urlPrefix = "https://api.qiye.163.com";*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ public class RParam {
|
||||||
// 获取账号配额信息 相关参数
|
// 获取账号配额信息 相关参数
|
||||||
private String domain; // 必须
|
private String domain; // 必须
|
||||||
|
|
||||||
private String accountName; // 必须
|
private String account_name; // 必须
|
||||||
|
|
||||||
// 获取企业邮箱域名列表 相关参数
|
// 获取企业邮箱域名列表 相关参数
|
||||||
private String orgOpenId; // 必须
|
private String orgOpenId; // 必须
|
||||||
|
@ -17,8 +17,8 @@ public class RParam {
|
||||||
|
|
||||||
private String fid = "1"; // 邮箱文件夹 ID,使用英文半角逗号分开,默认传 1,5 1-收件箱;2-草稿箱;3-已发送;4-已删除;5-垃圾邮件
|
private String fid = "1"; // 邮箱文件夹 ID,使用英文半角逗号分开,默认传 1,5 1-收件箱;2-草稿箱;3-已发送;4-已删除;5-垃圾邮件
|
||||||
|
|
||||||
public RParam(String accountName, String domain) {
|
public RParam(String account_name, String domain) {
|
||||||
this.accountName = accountName;
|
this.account_name = account_name;
|
||||||
this.domain = domain;
|
this.domain = domain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,9 +91,7 @@ public class SysEmailLogServiceImpl extends ServiceImpl<SysEmailLogMapper, SysEm
|
||||||
// 是否为网易企业邮箱账号
|
// 是否为网易企业邮箱账号
|
||||||
if (ObjectUtil.isNull(isQiye) || isQiye != IS.getValue())
|
if (ObjectUtil.isNull(isQiye) || isQiye != IS.getValue())
|
||||||
return map;
|
return map;
|
||||||
RParam rParam = new RParam();
|
RParam rParam = new RParam(accountName, domain);
|
||||||
rParam.setDomain(domain);
|
|
||||||
rParam.setAccountName(accountName);
|
|
||||||
// 获取已登录的SDK实例
|
// 获取已登录的SDK实例
|
||||||
QiyeOpenPlatSDK platSDK = InstanceSDK.getInstance();
|
QiyeOpenPlatSDK platSDK = InstanceSDK.getInstance();
|
||||||
if (ObjectUtil.isNull(platSDK))
|
if (ObjectUtil.isNull(platSDK))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user