fix:param name错误
This commit is contained in:
parent
f5f55479a3
commit
ef62c22f02
|
@ -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";*/
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -91,9 +91,7 @@ public class SysEmailLogServiceImpl extends ServiceImpl<SysEmailLogMapper, SysEm
|
|||
// 是否为网易企业邮箱账号
|
||||
if (ObjectUtil.isNull(isQiye) || isQiye != IS.getValue())
|
||||
return map;
|
||||
RParam rParam = new RParam();
|
||||
rParam.setDomain(domain);
|
||||
rParam.setAccountName(accountName);
|
||||
RParam rParam = new RParam(accountName, domain);
|
||||
// 获取已登录的SDK实例
|
||||
QiyeOpenPlatSDK platSDK = InstanceSDK.getInstance();
|
||||
if (ObjectUtil.isNull(platSDK))
|
||||
|
|
Loading…
Reference in New Issue
Block a user