fix:pc账户列表接口

This commit is contained in:
wangff
2025-11-18 14:23:32 +08:00
parent 267bd0e7b3
commit 6d6f72dbc9
2 changed files with 40 additions and 0 deletions

View File

@@ -33,4 +33,7 @@ public class AccountInfoVO {
@ApiModelProperty(value = "账户余额")
private String totalAmount;
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标")
private Integer labelingStatus;
}

View File

@@ -0,0 +1,37 @@
package com.cool.store.controller.webb;
import com.cool.store.request.wallet.StoreShopRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.wallet.WalletService;
import com.cool.store.vo.wallet.AccountInfoVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* <p>
* 钱包 前端控制器
* </p>
*
* @author wangff
* @since 2025/11/18
*/
@Api(tags = "钱包")
@RestController
@RequestMapping("/pc/wallet")
@RequiredArgsConstructor
public class WalletController {
private final WalletService walletService;
@ApiOperation("账户列表")
@GetMapping("/accountList")
public ResponseResult<List<AccountInfoVO>> getAccountList(@RequestBody StoreShopRequest request) {
return ResponseResult.success(walletService.getAccountList(request));
}
}