diff --git a/game-server/app/services/pay/37Pay.ts b/game-server/app/services/pay/37Pay.ts index dac5548d2..401004bc9 100644 --- a/game-server/app/services/pay/37Pay.ts +++ b/game-server/app/services/pay/37Pay.ts @@ -26,7 +26,7 @@ export async function applyOrder37(localOrderID: string, roleId: string, product let ext = ''; let body = { game_id: SDK_37_CONST.GAME_ID, - uid: user.uid, + uid: (user.channelInfo).uid, sid: role.serverId, actor_id: role.roleId, order_no: localOrderID, diff --git a/web-server/app/controller/game.ts b/web-server/app/controller/game.ts index 6c83fc58c..027761739 100644 --- a/web-server/app/controller/game.ts +++ b/web-server/app/controller/game.ts @@ -80,7 +80,7 @@ export default class GameController extends Controller { public async getnotice() { const { ctx } = this; - let { serverType } = ctx; + let { serverType } = ctx.request.body; let notice = await NoticeModel.getAllNotice(serverType); let result = notice.map(cur => {