yq %!s(int64=2) %!d(string=hai) anos
pai
achega
9fee5591e0

+ 2 - 1
src/main/java/com/usky/dxtop/controller/web/business/DishController.java

@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.usky.dxtop.common.core.domain.ApiResult;
 import com.usky.dxtop.common.core.page.CommonPage;
 import com.usky.dxtop.common.exception.CustomException;
+import com.usky.dxtop.controller.BaseController;
 import com.usky.dxtop.model.Dish;
 import com.usky.dxtop.model.Staff;
 import com.usky.dxtop.service.DishService;
@@ -27,7 +28,7 @@ import java.util.Optional;
  */
 @RestController
 @RequestMapping("/dxtop/dish")
-public class DishController {
+public class DishController extends BaseController {
 
 
     @Autowired