fix:新增小程序账户列表及流水接口
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
package com.cool.store.controller.webc;
|
||||
|
||||
import com.cool.store.request.wallet.AccountCreateRequest;
|
||||
import com.cool.store.request.wallet.AccountOpenRequest;
|
||||
import com.cool.store.request.wallet.BankListRequest;
|
||||
import com.cool.store.request.wallet.WalletShopRequest;
|
||||
import com.cool.store.request.wallet.*;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.wallet.WalletService;
|
||||
import com.cool.store.vo.wallet.AccountAuthenticationVO;
|
||||
import com.cool.store.vo.wallet.AccountBillListVO;
|
||||
import com.cool.store.vo.wallet.AccountInfoVO;
|
||||
import com.cool.store.vo.wallet.BankVO;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -15,6 +14,8 @@ import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mini钱包 前端控制器
|
||||
@@ -53,4 +54,16 @@ public class MiniWalletController {
|
||||
public ResponseResult<PageInfo<BankVO>> getBankList(@RequestBody BankListRequest request) {
|
||||
return ResponseResult.success(walletService.getBankList(request));
|
||||
}
|
||||
|
||||
@ApiOperation("账户列表")
|
||||
@GetMapping("/accountList")
|
||||
public ResponseResult<List<AccountInfoVO>> getAccountList(@RequestBody WalletShopRequest request) {
|
||||
return ResponseResult.success(walletService.getAccountList(request));
|
||||
}
|
||||
|
||||
@ApiOperation("账户流水")
|
||||
@GetMapping("/billPage")
|
||||
public ResponseResult<PageInfo<AccountBillListVO>> getBillPage(@RequestBody AccountBillQueryRequest request) {
|
||||
return ResponseResult.success(walletService.getBillPage(request));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user