1、钉钉短信渠道错误信息捕获字段修正;2、infra微服务无用代码清理;

This commit is contained in:
gaoqr
2024-09-25 16:03:41 +08:00
parent 38af1710fb
commit b6ada0e251
31 changed files with 1 additions and 1771 deletions
@@ -64,7 +64,7 @@ public class DebugDingTalkSmsClient extends AbstractSmsClient {
Map<?, ?> responseObj = JsonUtils.parseObject(responseText, Map.class);
String errorCode = MapUtil.getStr(responseObj, "errcode");
return new SmsSendRespDTO().setSuccess(Objects.equals(errorCode, "0")).setSerialNo(StrUtil.uuid())
.setApiCode(errorCode).setApiMsg(MapUtil.getStr(responseObj, "errorMsg")).setMobile(mobile).setChannelCode(properties.getChannel());
.setApiCode(errorCode).setApiMsg(MapUtil.getStr(responseObj, "errmsg")).setMobile(mobile).setChannelCode(properties.getChannel());
}
/**