支付:修复支付测试bug

This commit is contained in:
luying
2022-05-16 11:30:18 +08:00
parent b55ccbedb8
commit 51f859f120
6 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { SDK_37_CONST, STATUS } from "../../consts";
import { DEBUG_PRICE, SDK_37_CONST, STATUS } from "../../consts";
import { RoleModel } from "../../db/Role";
import { UserModel } from "../../db/User";
import { LoginValidateData37 } from "../../domain/sdk";
@@ -40,7 +40,7 @@ export async function applyOrder37(localOrderID: string, roleId: string, product
ext
}
if(gameData.serverConst.DEBUG_PAY == 1) {
body = {...body, money: 0.1}
body = {...body, money: DEBUG_PRICE}
}
let sign = get37Md5SignA(body, SDK_37_CONST.PAY_KEY);