mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
update 修改结算
This commit is contained in:
@@ -3,6 +3,7 @@ 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.UpdateAccountConfigDTO;
|
||||
import com.jsowell.adapay.service.AdapayMemberService;
|
||||
import com.jsowell.adapay.vo.AdapayAccountBalanceVO;
|
||||
import com.jsowell.common.core.controller.BaseController;
|
||||
@@ -77,4 +78,22 @@ public class AdapayMemberController extends BaseController {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改结算
|
||||
* http://localhost:8080/adapay/member/updateSettleAccountConfig
|
||||
* 修改商户或用户结算账户的起始金额、结算留存金额、结算信息摘要等 配置参数
|
||||
*/
|
||||
@PostMapping("/updateSettleAccountConfig")
|
||||
public AjaxResult updateSettleAccountConfig(@RequestBody UpdateAccountConfigDTO dto) {
|
||||
AjaxResult result;
|
||||
try {
|
||||
adapayMemberService.updateSettleAccountConfig(dto);
|
||||
result = AjaxResult.success();
|
||||
} catch (BaseAdaPayException e) {
|
||||
logger.error("查询汇付账户余额error", e);
|
||||
result = AjaxResult.error();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user