5 changed files with 10 additions and 55 deletions
@ -1,44 +0,0 @@ |
|||||
package com.zdxt.enforcementcode.controller.app.enterprise; |
|
||||
|
|
||||
import com.zdxt.enforcementcode.domain.dto.enterprise.EnterpriseComplatintInsertDTO; |
|
||||
import com.zdxt.enforcementcode.domain.vo.enterprise.EnterpriseComplaintVo; |
|
||||
import com.zdxt.enforcementcode.service.enterprise.IEnterpriseComplaintService; |
|
||||
import io.swagger.v3.oas.annotations.responses.ApiResponse; |
|
||||
import io.swagger.v3.oas.annotations.tags.Tag; |
|
||||
import lombok.RequiredArgsConstructor; |
|
||||
import org.dromara.common.core.domain.R; |
|
||||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|
||||
import org.dromara.common.web.core.BaseController; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.validation.annotation.Validated; |
|
||||
import org.springframework.web.bind.annotation.*; |
|
||||
|
|
||||
/** |
|
||||
* 企业端-投诉建议 |
|
||||
*/ |
|
||||
@Tag(name = "企业端-投诉建议") |
|
||||
@Validated |
|
||||
@RequiredArgsConstructor |
|
||||
@RestController |
|
||||
@RequestMapping("/app-ent/complaint") |
|
||||
public class EnterpriseComplaintController extends BaseController { |
|
||||
|
|
||||
|
|
||||
@Autowired |
|
||||
private IEnterpriseComplaintService enterpriseComplaintService; |
|
||||
|
|
||||
/** |
|
||||
* 企业端-投诉建议-新增 |
|
||||
* @param |
|
||||
* @return |
|
||||
*/ |
|
||||
@ApiResponse(description = "新增投诉建议") |
|
||||
@PostMapping("/add") |
|
||||
@ResponseBody |
|
||||
public R<Void> addSave(@RequestBody EnterpriseComplatintInsertDTO dto) { |
|
||||
return toAjax(enterpriseComplaintService.insertEnterpriseComplaint(dto)); |
|
||||
|
|
||||
} |
|
||||
|
|
||||
|
|
||||
} |
|
||||
Loading…
Reference in new issue