fix:pc账户列表接口
This commit is contained in:
@@ -33,4 +33,7 @@ public class AccountInfoVO {
|
||||
|
||||
@ApiModelProperty(value = "账户余额")
|
||||
private String totalAmount;
|
||||
|
||||
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标")
|
||||
private Integer labelingStatus;
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user