Commit f715f533 by guojuxing

短信获取与修改接口修复

parent 1d579543
......@@ -86,14 +86,14 @@ public class EnterpriseSmsController {
}
@RequestMapping("/get-sms")
public RestResponse getSms(Long signId) {
return ResultControllerUtils.commonResultOne(smsOuterApiService.getSmsSignByid(UserDetailUtils.getUserDetail().getEnterpriseId(), signId), EnterpriseSmsSignVO.class);
public RestResponse getSms(Long signId, Integer enterpriseId) {
return ResultControllerUtils.commonResultOne(smsOuterApiService.getSmsSignByid(enterpriseId, signId), EnterpriseSmsSignVO.class);
}
@RequestMapping("/edit-sms")
public RestResponse editSms(Long signId, String smsSignId, String smsSignText, int useType) {
public RestResponse editSms(Long signId, String smsSignId, String smsSignText, int useType, Integer enterpriseId) {
return ResultControllerUtils
.commonResult(smsOuterApiService.editEnterpriseSmsSign(UserDetailUtils.getUserDetail().getEnterpriseId(), signId, smsSignId, smsSignText, useType));
.commonResult(smsOuterApiService.editEnterpriseSmsSign(enterpriseId, signId, smsSignId, smsSignText, useType));
}
@RequestMapping("/delete-sms")
......
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