|
|
@ -7,10 +7,7 @@ import com.gszc.entity.Custom;
|
|
|
|
import com.gszc.entity.CustomSupport;
|
|
|
|
import com.gszc.entity.CustomSupport;
|
|
|
|
import com.gszc.service.impl.CustomServiceImpl;
|
|
|
|
import com.gszc.service.impl.CustomServiceImpl;
|
|
|
|
import com.gszc.service.impl.PcUserServiceImpl;
|
|
|
|
import com.gszc.service.impl.PcUserServiceImpl;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.*;
|
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
|
@ -66,6 +63,9 @@ public class PcCustomV2Controller {
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/updateCustom")
|
|
|
|
@PostMapping("/updateCustom")
|
|
|
|
@ApiImplicitParam(name = "token", value = "token", required = true, dataType = "String", paramType = "header")
|
|
|
|
@ApiImplicitParam(name = "token", value = "token", required = true, dataType = "String", paramType = "header")
|
|
|
|
|
|
|
|
// @ApiImplicitParams({
|
|
|
|
|
|
|
|
// @ApiImplicitParam(name = "custom", value = "公司实体custom", required = true, dataType = "Custom")
|
|
|
|
|
|
|
|
// })
|
|
|
|
@ApiOperation(value = "公司编辑", notes = "公司编辑")
|
|
|
|
@ApiOperation(value = "公司编辑", notes = "公司编辑")
|
|
|
|
@ResponseBody
|
|
|
|
@ResponseBody
|
|
|
|
public Result updateCustom(@ModelAttribute @Valid Custom custom) {
|
|
|
|
public Result updateCustom(@ModelAttribute @Valid Custom custom) {
|
|
|
|