zhuyifan

refactor(tianting): 修改查询就餐人的接口为 POST 方法

......@@ -20,6 +20,7 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
......@@ -66,7 +67,7 @@ public class DinerController {
}
@ApiOperation(value = "根据学校,班级和学号查询就餐人")
@GetMapping("/client/{clientId}/gradeclass/{gradeClassId}/diner")
@PostMapping("/client/{clientId}/gradeclass/{gradeClassId}/diner")
@ResponseStatus(HttpStatus.OK)
public DinerVO getClientClassDiner(@RequestAttribute(INJECTED_CLIENT) final SingleClientRpcResponse client,
@RequestAttribute(INJECTED_GRADE_CLASS) final SingleGradeClassRpcResponse gradeClass,
......