多店铺需求

This commit is contained in:
Tankaikai
2025-04-07 11:40:25 +08:00
parent ec5de0f9ba
commit fffa1e5389
14 changed files with 513 additions and 15 deletions

View File

@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.*;
/**
* 店铺管理
*
* @author Administrator
*/
@RestController
@@ -35,8 +36,8 @@ public class ShopInfoController {
@SaAdminCheckRole("管理员")
@SaAdminCheckPermission(value = "shopInfo:list", name = "店铺列表")
@GetMapping
public CzgResult<Page<ShopInfo>> get(PageDTO pageDTO, String shopName, Integer status) {
return CzgResult.success(shopInfoService.get(pageDTO, shopName, status));
public CzgResult<Page<ShopInfo>> get(PageDTO pageDTO, String shopName, Integer status, Integer isHeadShop) {
return CzgResult.success(shopInfoService.get(pageDTO, shopName, status, isHeadShop));
}
/**
@@ -83,4 +84,5 @@ public class ShopInfoController {
public CzgResult<?> delete(@RequestParam Integer id) {
return CzgResult.success(shopInfoService.remove(new QueryWrapper().eq(ShopInfo::getId, id)));
}
}