|
|
|
@@ -75,6 +75,22 @@ public class WxMsgController extends BaseController { |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("修改模板接口") |
|
|
|
@PostMapping("tempUpd") |
|
|
|
@SystemControllerLog(description = "moban xiugai") |
|
|
|
public ResultData tempUpd(@RequestBody WxTemplateMsg wxTemplateMsg) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxMsgController::tempUpd"); |
|
|
|
if(wxTemplateMsg.getId() == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
} |
|
|
|
wxTemplateMsg.updateTenantInfo(getTenantInfo()); |
|
|
|
// if(null == wxTemplateMsg.getOnOff()){ |
|
|
|
// wxTemplateMsg.setOnOff(1); |
|
|
|
// } |
|
|
|
wxTemplateMsgService.saveOrUpdate(wxTemplateMsg); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("新增接口") |
|
|
|
@PostMapping("add") |
|
|
|
@SystemControllerLog(description = "标签短信-新增") |
|
|
|
|