mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
合并实验中的修改
This commit is contained in:
parent
ab81bd3360
commit
98c92be146
@ -1,7 +1,9 @@
|
|||||||
package org.dromara.sms4j.emay.service;
|
package org.dromara.sms4j.emay.service;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import org.dromara.sms4j.api.AbstractSmsBlend;
|
import org.dromara.sms4j.api.AbstractSmsBlend;
|
||||||
|
import org.dromara.sms4j.comm.utils.SmsUtil;
|
||||||
import org.dromara.sms4j.emay.config.EmayConfig;
|
import org.dromara.sms4j.emay.config.EmayConfig;
|
||||||
import org.dromara.sms4j.emay.util.EmayBuilder;
|
import org.dromara.sms4j.emay.util.EmayBuilder;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
@ -102,7 +104,7 @@ public class EmaySmsImpl extends AbstractSmsBlend {
|
|||||||
return smsResponse;
|
return smsResponse;
|
||||||
}
|
}
|
||||||
String code = execute.getString("code");
|
String code = execute.getString("code");
|
||||||
if (StringUtils.isEmpty(code)) {
|
if (SmsUtil.isEmpty(code)) {
|
||||||
smsResponse.setErrorCode("emay response code is null");
|
smsResponse.setErrorCode("emay response code is null");
|
||||||
smsResponse.setErrMessage("emay is error");
|
smsResponse.setErrMessage("emay is error");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user