微信转账未完成
This commit is contained in:
parent
3b9548aa2d
commit
e025b52ff4
|
@ -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();
|
||||||
|
|
|
@ -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());
|
||||||
// 微信提现
|
// 微信提现
|
||||||
|
|
Loading…
Reference in New Issue