后台品牌删除

This commit is contained in:
TL 2022-08-01 16:38:40 +08:00
parent fe523d6628
commit cb0f626790
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ class BrandController extends Controller
return json_success("成功修改", $brand);
}
public function destroy(Request $request, int $customerId, int $addressId)
public function destroy(int $addressId)
{
AddressRepo::delete($addressId);
BrandRepo::delete($addressId);
return json_success("已成功删除");
}