支付:测试1毛钱

This commit is contained in:
luying
2022-05-16 10:44:08 +08:00
parent 8e5047e238
commit b55ccbedb8
4 changed files with 9 additions and 2 deletions
+4
View File
@@ -7,6 +7,7 @@ import { nowSeconds } from "../../pubUtils/timeUtil";
import { resResult } from "../../pubUtils/util";
import { get37Md5SignA } from "../../pubUtils/sdkUtil";
import { pinus } from "pinus";
import { gameData } from "../../pubUtils/data";
/**
* 37支付下单
@@ -38,6 +39,9 @@ export async function applyOrder37(localOrderID: string, roleId: string, product
time: nowSeconds(),
ext
}
if(gameData.serverConst.DEBUG_PAY == 1) {
body = {...body, money: 0.1}
}
let sign = get37Md5SignA(body, SDK_37_CONST.PAY_KEY);