sdk: 增加一点参数

This commit is contained in:
luying
2021-11-16 14:19:54 +08:00
parent 30063d3879
commit 2f295417b3

View File

@@ -6,6 +6,7 @@ import { DicRMB } from "../../pubUtils/dictionary/DicRMB";
import { nowSeconds } from "../../pubUtils/timeUtil";
import { resResult } from "../../pubUtils/util";
import { get37Md5Sign } from "../../pubUtils/sdkUtil";
import { pinus } from "pinus";
/**
* 37支付下单
@@ -23,7 +24,7 @@ export async function applyOrder37(localOrderID: string, roleId: string, product
code: -1, resData: resResult(STATUS.CHANNEL_INFO_NOT_FOUND)
}
let gameCoin = productInfo.gameCoin;
let ext = '';
let ext = pinus.app.get('env');
let body = {
game_id: SDK_37_CONST.GAME_ID,
uid: (<LoginValidateData37>user.channelInfo).uid,