Browse Source

修复bug

王昭 2 years ago
parent
commit
265c4ed9a4

+ 1 - 1
mec-web/src/main/java/com/ym/mec/web/controller/VisitController.java

@@ -61,7 +61,7 @@ public class VisitController extends BaseController {
     @ApiOperation(value = "修改问题状态")
     @PostMapping(value = "/updateProbStatus")
     @PreAuthorize("@pcs.hasPermissions('visit/updateProbStatus')")
-    public HttpResponseResult<String> updateProbStatus(Integer id,Integer probStatus) {
+    public HttpResponseResult<String> updateProbStatus(@RequestParam("id")Integer id,@RequestParam("probStatus")Integer probStatus) {
         return succeed(studentVisitService.updateProbStatus(id,probStatus));
     }