店铺删除参数修改
This commit is contained in:
@@ -80,7 +80,7 @@ public class ShopInfoController {
|
||||
@SaAdminCheckRole("管理员")
|
||||
@SaAdminCheckPermission(value = "shopInfo:del", name = "店铺删除")
|
||||
@DeleteMapping
|
||||
public CzgResult<?> delete(@RequestParam Integer shopId) {
|
||||
return CzgResult.success(shopInfoService.remove(new QueryWrapper().eq(ShopInfo::getId, shopId)));
|
||||
public CzgResult<?> delete(@RequestParam Integer id) {
|
||||
return CzgResult.success(shopInfoService.remove(new QueryWrapper().eq(ShopInfo::getId, id)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user