|
@@ -10,6 +10,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -25,7 +26,7 @@ public class SysImComplaintController extends BaseController {
|
|
|
private SysUserFeignService sysUserFeignService;
|
|
|
|
|
|
@ApiOperation(value = "新增")
|
|
|
- @GetMapping("/add")
|
|
|
+ @PostMapping("/add")
|
|
|
public Object getOrgans(SysImComplaint sysImComplaint) {
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
sysImComplaint.setUserId(sysUser.getId());
|