店铺装修接口修改
This commit is contained in:
@@ -32,11 +32,7 @@ public class ShopExtendController {
|
||||
@SaAdminCheckPermission(value = "shopExtend:list", name = "店铺拓展参数列表")
|
||||
@GetMapping
|
||||
public CzgResult<List<ShopExtend>> list(String autoKey) {
|
||||
QueryWrapper queryWrapper = new QueryWrapper().eq(ShopExtend::getShopId, StpKit.USER.getShopId());
|
||||
if (StrUtil.isNotBlank(autoKey)) {
|
||||
queryWrapper.eq(ShopExtend::getAutoKey, autoKey);
|
||||
}
|
||||
return CzgResult.success(shopExtendService.list(queryWrapper));
|
||||
return CzgResult.success(shopExtendService.listInfo(StpKit.USER.getShopId(), autoKey));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user