通知中心接口修改

This commit is contained in:
张松
2025-04-07 10:13:33 +08:00
parent b45a2bd82f
commit 772c947808
8 changed files with 35 additions and 28 deletions

View File

@@ -121,8 +121,8 @@ public class ShopVendorController {
*/
@GetMapping("/bill")
// @OperationLog("供应商账单-列表")
public CzgResult<Page<ShopVendorBillVO>> bill() {
return CzgResult.success(shopVendorService.billList(StpKit.USER.getShopId()));
public CzgResult<Page<ShopVendorBillVO>> bill(@RequestParam(required = false) String key) {
return CzgResult.success(shopVendorService.billList(StpKit.USER.getShopId(), key));
}
/**
@@ -131,8 +131,8 @@ public class ShopVendorController {
*/
@GetMapping("/bill/record")
// @OperationLog("供应商账单-列表")
public CzgResult<Page<ShopVendorBillRecordVO>> bill(@RequestParam Integer vendorId) {
return CzgResult.success(shopVendorService.billRecord(StpKit.USER.getShopId(), vendorId));
public CzgResult<Page<ShopVendorBillRecordVO>> bill(@RequestParam Integer vendorId, @RequestParam(required = false) String key) {
return CzgResult.success(shopVendorService.billRecord(StpKit.USER.getShopId(), vendorId, key));
}