余额列表接口

This commit is contained in:
张松
2025-09-26 14:27:33 +08:00
parent c5b3cfeb72
commit 25a7ac1f68
3 changed files with 8 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
package com.czg.controller.user;
import com.czg.market.service.MkShopRechargeService;
import com.czg.market.vo.MemberDetailVO;
import com.czg.market.vo.MemberListVO;
import com.czg.market.vo.MkShopRechargeVO;
import com.czg.market.vo.RechargeListVO;
import com.czg.resp.CzgResult;
@@ -35,8 +33,11 @@ public class URechargeController {
return CzgResult.success(shopRechargeService.detail(shopId));
}
/**
* 储值列表
*/
@GetMapping("/list")
public List<RechargeListVO> getList() {
public CzgResult<List<RechargeListVO>> getList() {
return CzgResult.success(shopRechargeService.getList(StpKit.USER.getLoginIdAsLong()));
}