处理问题
This commit is contained in:
parent
2da510fd16
commit
c403b90bd9
@ -64,7 +64,7 @@ public class ${firstUpperTableName}AppController extends DefaultBaseController {
|
||||
@ApiImplicitParam(name = "${firstLowerTableName}Id", value = "${tableExplain}ID", paramType = "path")
|
||||
})
|
||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||
@PutMapping("update${lowerTableName}/{${firstLowerTableName}Id}")
|
||||
@PutMapping("update/{${firstLowerTableName}Id}")
|
||||
@CheckRequestBodyAnnotation
|
||||
public SuccessResult update${firstUpperTableName}(@RequestHeader("token") String token, @PathVariable("${firstLowerTableName}Id") String ${firstLowerTableName}Id, @RequestBody ${firstUpperTableName}VO ${firstLowerTableName}VO) {
|
||||
${firstLowerTableName}Service.update(token, ${firstLowerTableName}Id, ${firstLowerTableName}VO);
|
||||
|
Loading…
Reference in New Issue
Block a user