|
@@ -75,6 +75,7 @@ public class FinanceController {
|
|
|
* @param params
|
|
* @param params
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("withdrawnRecord.modify")
|
|
|
@PostMapping("/applyWithdrawn")
|
|
@PostMapping("/applyWithdrawn")
|
|
|
public R<?> applyWithdrawn(@RequestBody WithdrawnQueryParam params) {
|
|
public R<?> applyWithdrawn(@RequestBody WithdrawnQueryParam params) {
|
|
|
stationAccountService.applyWithdrawn(params);
|
|
stationAccountService.applyWithdrawn(params);
|
|
@@ -98,6 +99,7 @@ public class FinanceController {
|
|
|
* @param params
|
|
* @param params
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("withdrawnRecord.modify")
|
|
|
@PostMapping("/reviewWithdrawn")
|
|
@PostMapping("/reviewWithdrawn")
|
|
|
public R<?> reviewWithdrawn(@RequestBody WithdrawnQueryParam params) {
|
|
public R<?> reviewWithdrawn(@RequestBody WithdrawnQueryParam params) {
|
|
|
withdrawnRecordService.reviewWithdrawn(params);
|
|
withdrawnRecordService.reviewWithdrawn(params);
|
|
@@ -110,6 +112,7 @@ public class FinanceController {
|
|
|
* @param params
|
|
* @param params
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("withdrawnRecord.modify")
|
|
|
@PostMapping("/confirmWithdrawnPayment")
|
|
@PostMapping("/confirmWithdrawnPayment")
|
|
|
public R<?> confirmWithdrawnPayment(@RequestBody WithdrawnQueryParam params) {
|
|
public R<?> confirmWithdrawnPayment(@RequestBody WithdrawnQueryParam params) {
|
|
|
withdrawnRecordService.confirmWithdrawnPayment(params);
|
|
withdrawnRecordService.confirmWithdrawnPayment(params);
|
|
@@ -123,6 +126,7 @@ public class FinanceController {
|
|
|
* @param refundLogId
|
|
* @param refundLogId
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("refundLog.modify")
|
|
|
@SysLog("处理用户微信退款")
|
|
@SysLog("处理用户微信退款")
|
|
|
@GetMapping("/customWxRefund/{refundLogId}")
|
|
@GetMapping("/customWxRefund/{refundLogId}")
|
|
|
R<?> customWxRefund(@PathVariable("refundLogId") long refundLogId) {
|
|
R<?> customWxRefund(@PathVariable("refundLogId") long refundLogId) {
|
|
@@ -133,6 +137,7 @@ public class FinanceController {
|
|
|
/**
|
|
/**
|
|
|
* 批量处理用户退款
|
|
* 批量处理用户退款
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("refundLog.modify")
|
|
|
@SysLog("批量处理用户微信退款")
|
|
@SysLog("批量处理用户微信退款")
|
|
|
@PostMapping("/batchWxRefund")
|
|
@PostMapping("/batchWxRefund")
|
|
|
R<?> batchWxRefund(@RequestBody java.util.List<Long> refundLogIds) {
|
|
R<?> batchWxRefund(@RequestBody java.util.List<Long> refundLogIds) {
|
|
@@ -159,6 +164,7 @@ public class FinanceController {
|
|
|
* @param param
|
|
* @param param
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("refundLog.modify")
|
|
|
@SysLog("用户退款申请")
|
|
@SysLog("用户退款申请")
|
|
|
@PostMapping("/applyRefund")
|
|
@PostMapping("/applyRefund")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@@ -178,6 +184,7 @@ public class FinanceController {
|
|
|
/**
|
|
/**
|
|
|
* 手动触发结算(运维用)
|
|
* 手动触发结算(运维用)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("settlement.modify")
|
|
|
@SysLog("手动触发月度结算")
|
|
@SysLog("手动触发月度结算")
|
|
|
@PostMapping("/triggerSettlement")
|
|
@PostMapping("/triggerSettlement")
|
|
|
public R<?> triggerSettlement() {
|
|
public R<?> triggerSettlement() {
|
|
@@ -188,6 +195,7 @@ public class FinanceController {
|
|
|
/**
|
|
/**
|
|
|
* 确认结算 — 将待结算金额转入站点可提现余额
|
|
* 确认结算 — 将待结算金额转入站点可提现余额
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @SaCheckPermission("settlement.modify")
|
|
|
@SysLog("确认结算")
|
|
@SysLog("确认结算")
|
|
|
@PostMapping("/confirmSettlement")
|
|
@PostMapping("/confirmSettlement")
|
|
|
public R<?> confirmSettlement(@RequestBody Map<String, Long> params) {
|
|
public R<?> confirmSettlement(@RequestBody Map<String, Long> params) {
|