支付回调

This commit is contained in:
luying
2021-11-09 19:24:00 +08:00
parent 173481a60c
commit 106493b878
26 changed files with 424 additions and 135 deletions
+15 -1
View File
@@ -1,6 +1,20 @@
import { HeroUpdate } from '../../db/Hero';
import { HeroType, HeroUpdate } from '../../db/Hero';
export interface CreateHeroParam extends HeroUpdate {
hid: number;
count: number;
}
export class HeroShowParam {
hid: number;
seqId: number;
skinId: number;
quality: number;
constructor(hero: HeroType) {
this.hid = hero.hid;
this.seqId = hero.seqId;
this.skinId = hero.skinId;
this.quality = hero.quality;
}
}
+18 -1
View File
@@ -39,4 +39,21 @@ export interface LoginValidataReturn37 {
data: LoginValidateData37;
}
export type ChannelInfo = LoginValidataReturn37|{};
export type ChannelInfo = LoginValidataReturn37|{};
export interface PayCallback37Data {
appid: string; // 平台id
uid: number; // 37用户id
game_id: number; // 游戏id
fc_c_game_id: string; // 子游戏id
sid: number; // 区服id
actor_id: string; // 角色id
order_id: string; // 37平台id
order_no: string; // 我方订单id
money: number; // 订单金额
game_coin: number; // 元宝数
product_id: string; // 商品id
time: number; // 请求时间
ext: string; // 扩展参数
sign: string;
}