Merge #1 into master from cc_20251112_wallet

fix:钱包提现返回结果修改

* cc_20251112_wallet: (1 commits squashed)

  - fix:钱包提现返回结果修改

Signed-off-by: 苏竹红 <accounts_68551bf01395375227aee211@mail.teambition.com>
Reviewed-by: 苏竹红 <accounts_68551bf01395375227aee211@mail.teambition.com>
Merged-by: 苏竹红 <accounts_68551bf01395375227aee211@mail.teambition.com>

CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/1
This commit is contained in:
苏竹红
2025-12-03 09:36:25 +00:00
parent 580c019e34
commit a1a3b52516
3 changed files with 5 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ public interface WalletService {
* @param request 钱包提现Request
* @return 是否成功
*/
Boolean withDrawer(WalletWithDrawerRequest request);
WithDrawerDTO withDrawer(WalletWithDrawerRequest request);
/**
* 批量查询账户信息 分页查询 所有门店账户

View File

@@ -451,7 +451,7 @@ public class WalletServiceImpl implements WalletService {
}
@Override
public Boolean withDrawer(WalletWithDrawerRequest request) {
public WithDrawerDTO withDrawer(WalletWithDrawerRequest request) {
String storeId = getStoreId(request);
String reqNo = UUIDUtils.get32UUID();
WithDrawerRequest withDrawerRequest = new WithDrawerRequest(storeId, request.getPayPwd(), reqNo, request.getAmount().toString(), "提现", request.getWalletType());
@@ -467,7 +467,7 @@ public class WalletServiceImpl implements WalletService {
.orderStatus(1)
.build();
walletPaymentOrderDAO.insertSelective(orderDO);
return true;
return withdraw;
}
@Override

View File

@@ -3,6 +3,7 @@ package com.cool.store.controller.webc;
import com.cool.store.dto.wallet.OpenBasicInfoDTO;
import com.cool.store.dto.wallet.PasswordDTO;
import com.cool.store.dto.wallet.TradeRecordDTO;
import com.cool.store.dto.wallet.WithDrawerDTO;
import com.cool.store.request.wallet.*;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.wallet.WalletService;
@@ -116,7 +117,7 @@ public class MiniWalletController {
@ApiOperation("提现")
@PostMapping("/withDrawer")
public ResponseResult<Boolean> withDrawer(@RequestBody @Validated WalletWithDrawerRequest request) {
public ResponseResult<WithDrawerDTO> withDrawer(@RequestBody @Validated WalletWithDrawerRequest request) {
return ResponseResult.success(walletService.withDrawer(request));
}
@ApiOperation("根据门店编码查询开通基础信息")