Commit 9be1a5c6 by guojuxing

短信模板

parent 6937ec8b
...@@ -220,8 +220,13 @@ public class EnterpriseSmsController { ...@@ -220,8 +220,13 @@ public class EnterpriseSmsController {
//默认腾讯云通道 //默认腾讯云通道
channelType = 1; channelType = 1;
} }
return ResultControllerUtils ServiceResponse<Integer> result = smsOuterApiService.initAddChannelTemplate(enterpriseId, channelType);
.commonResult(smsOuterApiService.initAddChannelTemplate(enterpriseId, channelType)); if (result.isSuccess()) {
return RestResponse.success();
}
RestResponse response = RestResponse.failure(result.getCode(), result.getMessage());
response.setResult(result.getResult());
return response;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment