sdk:修复37支付校验

This commit is contained in:
luying
2021-11-15 19:53:57 +08:00
parent 5f0969246c
commit 30063d3879
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export async function applyOrder37(localOrderID: string, roleId: string, product
let ext = ''; let ext = '';
let body = { let body = {
game_id: SDK_37_CONST.GAME_ID, game_id: SDK_37_CONST.GAME_ID,
uid: user.uid, uid: (<LoginValidateData37>user.channelInfo).uid,
sid: role.serverId, sid: role.serverId,
actor_id: role.roleId, actor_id: role.roleId,
order_no: localOrderID, order_no: localOrderID,
+1 -1
View File
@@ -80,7 +80,7 @@ export default class GameController extends Controller {
public async getnotice() { public async getnotice() {
const { ctx } = this; const { ctx } = this;
let { serverType } = ctx; let { serverType } = ctx.request.body;
let notice = await NoticeModel.getAllNotice(serverType); let notice = await NoticeModel.getAllNotice(serverType);
let result = notice.map(cur => { let result = notice.map(cur => {