✨ feat(支付): 修改支付用productID

This commit is contained in:
luying
2023-02-15 19:35:17 +08:00
parent d61bf3395d
commit 4bb946d613
3 changed files with 1697 additions and 1466 deletions
@@ -135,7 +135,11 @@ export class orderHandler {
if(isDebugPay()) { if(isDebugPay()) {
productInfo = {...productInfo, price: DEBUG_PRICE} productInfo = {...productInfo, price: DEBUG_PRICE}
} }
return resResult(STATUS.SUCCESS, { orderInfo: sdkOrderInfo, productInfo, localOrderID }); return resResult(STATUS.SUCCESS, { orderInfo: sdkOrderInfo, productInfo: {
productID: productInfo.channelProductID,
message: productInfo.message,
price: productInfo.price,
}, localOrderID });
} }
/** /**
+2
View File
@@ -5,6 +5,8 @@ import { FILENAME } from '../../consts';
export interface DicRMB { export interface DicRMB {
// 商品ID 必须唯一不能相同 // 商品ID 必须唯一不能相同
readonly productID: string; readonly productID: string;
// 对外商品id
readonly channelProductID: string;
// 类型 ACTIVITY_TYPE // 类型 ACTIVITY_TYPE
readonly type: number; readonly type: number;
// 价格 // 价格
File diff suppressed because it is too large Load Diff