mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 12:05:05 +08:00
update 查询提现记录
This commit is contained in:
@@ -2,17 +2,16 @@ package com.jsowell.web.controller.pile;
|
||||
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
||||
import com.jsowell.adapay.dto.AdapayMemberInfoDTO;
|
||||
import com.jsowell.adapay.dto.SettleAccountDTO;
|
||||
import com.jsowell.adapay.dto.UpdateAccountConfigDTO;
|
||||
import com.jsowell.adapay.dto.WithdrawDTO;
|
||||
import com.jsowell.adapay.dto.*;
|
||||
import com.jsowell.adapay.service.AdapayService;
|
||||
import com.jsowell.adapay.vo.AdapayAccountBalanceVO;
|
||||
import com.jsowell.common.core.controller.BaseController;
|
||||
import com.jsowell.common.core.domain.AjaxResult;
|
||||
import com.jsowell.common.core.page.PageResponse;
|
||||
import com.jsowell.common.enums.ykc.ReturnCodeEnum;
|
||||
import com.jsowell.common.exception.BusinessException;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.pile.service.ClearingWithdrawInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
@@ -28,6 +27,9 @@ public class AdapayMemberController extends BaseController {
|
||||
@Autowired
|
||||
private AdapayService adapayService;
|
||||
|
||||
@Autowired
|
||||
private ClearingWithdrawInfoService clearingWithdrawInfoService;
|
||||
|
||||
/**
|
||||
* 创建结算账户
|
||||
* http://localhost:8080/adapay/member/createSettleAccount
|
||||
@@ -54,6 +56,7 @@ public class AdapayMemberController extends BaseController {
|
||||
logger.info("创建结算账户接口 result:{}", JSON.toJSONString(result));
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询汇付会员接口
|
||||
* http://localhost:8080/adapay/member/selectAdapayMember
|
||||
@@ -120,6 +123,26 @@ public class AdapayMemberController extends BaseController {
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询提现记录 分页
|
||||
* http://localhost:8080/adapay/member/queryWithdrawList
|
||||
*/
|
||||
@PostMapping("/queryWithdrawList")
|
||||
public AjaxResult queryWithdrawList(@RequestBody QueryWithdrawListDTO dto) {
|
||||
AjaxResult result;
|
||||
try {
|
||||
PageResponse map = clearingWithdrawInfoService.queryWithdrawList(dto);
|
||||
result = AjaxResult.success(map);
|
||||
} catch (BusinessException e) {
|
||||
logger.error("查询提现记录error", e);
|
||||
result = AjaxResult.error(e.getMessage());
|
||||
} catch (Exception e) {
|
||||
logger.error("查询提现记录error", e);
|
||||
result = AjaxResult.error();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改结算
|
||||
* http://localhost:8080/adapay/member/updateSettleAccountConfig
|
||||
|
||||
Reference in New Issue
Block a user