Merge #100 into master from cc_0260415_fix

feat:提现刷新

* cc_0260415_fix: (1 commits squashed)

  - feat:提现刷新

Signed-off-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com>
Merged-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com>

CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/100
This commit is contained in:
正新
2026-04-15 10:03:11 +00:00
parent 19bce915ac
commit 4633d8dc80
3 changed files with 28 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
package com.cool.store.controller.webb;
import com.cool.store.dto.wallet.WithdrawApplicationDTO;
import com.cool.store.job.XxlJobHandler;
import com.cool.store.request.WithdrawApplicationPageRequest;
import com.cool.store.request.WithdrawApplicationRequest;
import com.cool.store.response.ResponseResult;
@@ -26,6 +27,8 @@ public class WithdrawApplicationController {
@Resource
private WithdrawApplicationService withdrawApplicationService;
@Resource
XxlJobHandler xxlJobHandler;
@PostMapping("/add")
@ApiOperation("新增提现申请")
@@ -44,4 +47,11 @@ public class WithdrawApplicationController {
public ResponseResult<Boolean> confirmWithdraw(@RequestParam Long id) {
return ResponseResult.success(withdrawApplicationService.confirmWithdraw(id));
}
@ApiOperation("刷新提现单状态")
@GetMapping("/refreshStatus")
public ResponseResult<Boolean> refreshStatus() {
xxlJobHandler.withdrawUpdate();
return ResponseResult.success(Boolean.TRUE);
}
}