支付:修复支付测试bug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user