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