opt:优化前后端交互后端返回不统一问题
This commit is contained in:
@@ -54,6 +54,6 @@ public class ${className}Controller {
|
||||
@DeleteMapping
|
||||
public ResponseEntity<Object> delete(@RequestBody Set<String> ids) {
|
||||
${changeClassName}Service.deleteAll(ids);
|
||||
return new ResponseEntity<>(HttpStatus.OK);
|
||||
return ResponseData.build();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user