fix: 修复使用结算

This commit is contained in:
zhangds 2024-02-28 11:43:58 +08:00
parent 4e4ce20dde
commit 4681e39126
1 changed files with 2 additions and 2 deletions

View File

@ -185,14 +185,14 @@
.then(({ code, data, message }) => {
// 使用结算 6
// 卡密做特殊处理,复制才会触发
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && this.goodInfo.product_type !== 2) {
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && self.goodInfo.product_type !== 2) {
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
}
if (code == 200) {
// 使用成功结算 7
// 直充类 上游充值返回成功
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7 && this.goodInfo.product_type !== 2) {
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7 && self.goodInfo.product_type !== 2) {
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
}