|
@@ -2,6 +2,7 @@ package com.platform.rest.controller.operate;
|
|
|
|
|
|
import com.platform.common.bean.AbstractPageResultBean;
|
|
|
import com.platform.common.util.BeanConverterUtil;
|
|
|
+import com.platform.common.util.JsonUtils;
|
|
|
import com.platform.common.util.R;
|
|
|
import com.platform.common.validation.group.AddGroup;
|
|
|
import com.platform.common.validation.group.UpdateGroup;
|
|
@@ -52,8 +53,12 @@ public class CustomerInfoController {
|
|
|
*/
|
|
|
@SysLog("新增客户提交信息表")
|
|
|
@PostMapping
|
|
|
- public R save(CustomerInfoDTO customerInfoDTO) {
|
|
|
- return new R<>(customerInfoService.saveModelByDTO(customerInfoDTO));
|
|
|
+ public void save(CustomerInfoDTO customerInfoDTO) throws Exception{
|
|
|
+ R r = new R<>(customerInfoService.saveModelByDTO(customerInfoDTO));
|
|
|
+ /*String result = "success(" + JsonUtils.objectToJson(r) + ")";
|
|
|
+ response.addHeader("X-Content-Type-Options", "nosniff");
|
|
|
+ response.setContentType("text/javascript;charset=UTF-8");
|
|
|
+ response.getWriter().write(result);*/
|
|
|
}
|
|
|
|
|
|
/**
|