微信转账未完成

This commit is contained in:
痴货 2024-10-01 14:42:25 +08:00
parent 3b9548aa2d
commit e025b52ff4
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ public enum BrokerageWithdrawTypeEnum implements IntArrayValuable {
BANK(2, "银行卡"), BANK(2, "银行卡"),
WECHAT(3, "微信"), WECHAT(3, "微信"),
ALIPAY(4, "支付宝"), ALIPAY(4, "支付宝"),
ALIPAY_SMALL(5, "微信零钱"),
; ;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(BrokerageWithdrawTypeEnum::getType).toArray(); public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(BrokerageWithdrawTypeEnum::getType).toArray();

View File

@ -98,7 +98,7 @@ public class BrokerageWithdrawServiceImpl implements BrokerageWithdrawService {
// 3.1 通过时佣金转余额 // 3.1 通过时佣金转余额
if (BrokerageWithdrawTypeEnum.WALLET.getType().equals(withdraw.getType())) { if (BrokerageWithdrawTypeEnum.WALLET.getType().equals(withdraw.getType())) {
// todo 疯狂 // todo 疯狂
}else if (BrokerageWithdrawTypeEnum.WECHAT.getType().equals(withdraw.getType())){ }else if (BrokerageWithdrawTypeEnum.ALIPAY_SMALL.getType().equals(withdraw.getType())){
//获取openid //获取openid
SocialUserRespDTO socialUser = socialUserApi.getSocialUserByUserId(UserTypeEnum.MEMBER.getValue(), withdraw.getUserId(), SocialTypeEnum.WECHAT_MINI_APP.getType()); SocialUserRespDTO socialUser = socialUserApi.getSocialUserByUserId(UserTypeEnum.MEMBER.getValue(), withdraw.getUserId(), SocialTypeEnum.WECHAT_MINI_APP.getType());
// 微信提现 // 微信提现