|
@@ -20,10 +20,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
-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;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -80,7 +77,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));
|
|
|
}
|
|
|
|