|
@@ -17,6 +17,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
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;
|
|
|
|
|
@@ -67,7 +68,7 @@ public class StudentRepairController extends BaseController {
|
|
|
|
|
|
|
|
|
@ApiOperation("维修完成")
|
|
|
- @GetMapping(value = "/repairSuccess")
|
|
|
+ @PostMapping(value = "/repairSuccess")
|
|
|
@PreAuthorize("@pcs.hasPermissions('studentRepair/repairSuccess')")
|
|
|
public HttpResponseResult repairSuccess(Integer id,String description,Integer repairStatus) {
|
|
|
studentRepairService.repairSuccess(id,description,repairStatus);
|