sdk:修复37支付校验
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user