|
|
@@ -1,6 +1,7 @@
|
|
|
package com.zhongshu.payment.server.core.controller;
|
|
|
|
|
|
import com.zhongshu.payment.client.model.param.OrderParam;
|
|
|
+import com.zhongshu.payment.client.model.param.QueryWalletParam;
|
|
|
import com.zhongshu.payment.client.model.param.RechargeParam;
|
|
|
import com.zhongshu.payment.server.core.service.RechargeService;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
@@ -54,13 +55,13 @@ public class RechargeController {
|
|
|
/** 查询充值订单列表 */
|
|
|
@Operation(summary = "查询充值订单列表", description = "查询充值订单列表")
|
|
|
@PostMapping(value = "queryListByWallet")
|
|
|
- public Object queryListByWallet(@RequestParam("walletId") String walletId, @RequestParam("year") Integer year, @RequestParam("month") Integer month){
|
|
|
- return rechargeService.queryListByWallet(walletId, year, month);
|
|
|
+ public Object queryListByWallet(@RequestBody QueryWalletParam param){
|
|
|
+ return rechargeService.queryListByWallet(param.getWalletId(), param.getYear(), param.getMonth());
|
|
|
}
|
|
|
|
|
|
/** 查询充值订单详情 */
|
|
|
@Operation(summary = "查询充值订单详情", description = "查询充值订单详情")
|
|
|
- @PostMapping(value = "queryInfoById")
|
|
|
+ @GetMapping(value = "queryInfoById")
|
|
|
public Object queryInfoById(@RequestParam("outTradeNo") String id){
|
|
|
return rechargeService.queryInfoById(id);
|
|
|
}
|