通知中心接口修改
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user