diff --git a/src/api_s2c/event/shiwuleichong/ApiOpen.ts b/src/api_s2c/event/shiwuleichong/ApiOpen.ts index 5763d97..63aa21d 100644 --- a/src/api_s2c/event/shiwuleichong/ApiOpen.ts +++ b/src/api_s2c/event/shiwuleichong/ApiOpen.ts @@ -1,43 +1,41 @@ -import {ApiCall} from "tsrpc"; -import {ReqOpen, ResOpen} from "../../../shared/protocols/event/shiwuleichong/PtlOpen"; -import {PayFun} from "../../../public/pay"; -import {PublicShared} from "../../../shared/public/public"; - +import { UpdateFilter } from 'mongodb'; +import { ApiCall } from "tsrpc"; +import { CollectionEvent } from '../../../module/collection_event'; +import { PayFun } from '../../../public/pay'; +import { ReqOpen, ResOpen } from "../../../shared/protocols/event/shiwuleichong/PtlOpen"; +import { PublicShared } from '../../../shared/public/public'; export default async function (call: ApiCall) { - let payids = G.gc.shiwuleichong.tasks.map( - (i) => i.payid - ); + let db = await G.mongodb.cEvent('15leichong').findOne({ uid: call.uid, type: '15leichong' }); + let update: UpdateFilter>; + let sTime = PublicShared.getToDayZeroTime(G.time); - let day: number = 1; - let _zt = PublicShared.getToDayZeroTime(); - let pays = await PayFun.getPayLogs(call.uid, payids); - for (; day <= G.gc.shiwuleichong.tasks.length; day++) { - let pay = pays[G.gc.shiwuleichong.tasks[day].payid]; - if (!pay) { - break + if (!db) { + update = { + $set: { index: 0, sTime: sTime, recIndex: [] } + }; + } else { + if (db.sTime + G.gc.shiwuleichong.data[db.index].time < G.time) { + + db.sTime = sTime; + db.index = G.gc.shiwuleichong.data[db.index + 1] == undefined ? db.index : db.index + 1; + db.recIndex = []; + + update = { + $set: { index: db.index, sTime: db.sTime, recIndex: [] } + }; } else { - if (pay.slice(-1)[0].time >= _zt) { - break - } + sTime = db.sTime; } } - // 如果是最后一天奖励 并且 充值订单隔天了 - if ( - day == G.gc.shiwuleichong.tasks.length && - pays[G.gc.shiwuleichong.tasks[day - 1].payid] && - pays[G.gc.shiwuleichong.tasks[day - 1].payid].slice(-1)[0].time < _zt - ) { - // 重置所有订单 - await PayFun.delPayLog(call.uid, ...payids.map(i => { - return {payId: i, val: []} - })) - day = 1; - pays = {}; - } + + update && G.mongodb.cEvent('15leichong').updateOne({ uid: call.uid, type: '15leichong' }, update, { upsert: true }); + let index = db?.index || 0; call.succ({ - day: day, - payIds: Object.keys(pays) + index: index, + sTime: sTime, + recIndex: db?.recIndex || [], + payDay: await PayFun.getPayDaysBuyPayNum(call.uid, sTime, sTime + G.gc.shiwuleichong.data[index].time, G.gc.shiwuleichong.dayPayNeed) }); } \ No newline at end of file diff --git a/src/api_s2c/event/shiwuleichong/ApiRec.ts b/src/api_s2c/event/shiwuleichong/ApiRec.ts new file mode 100644 index 0000000..f9cf51e --- /dev/null +++ b/src/api_s2c/event/shiwuleichong/ApiRec.ts @@ -0,0 +1,26 @@ +import { ApiCall } from "tsrpc"; +import { PayFun } from '../../../public/pay'; +import { PlayerFun } from '../../../public/player'; +import { ReqRec, ResRec } from "../../../shared/protocols/event/shiwuleichong/PtlRec"; + +export default async function (call: ApiCall) { + let db = await G.mongodb.cEvent('15leichong').findOne({ uid: call.uid, type: '15leichong' }); + let confArr = G.gc.shiwuleichong.data[db.index]; + + if (!confArr.tasks[call.req.index]) return call.error('', { code: -1 }); + if (db.recIndex.includes(call.req.index)) return call.error('', { code: -2 }); + + let payDay = await PayFun.getPayDaysBuyPayNum(call.uid, db.sTime, db.sTime + confArr.time, G.gc.shiwuleichong.dayPayNeed); + if (payDay < confArr.tasks[call.req.index].total) return call.error('', { code: -3 }); + + await PlayerFun.sendPrize(call, confArr.tasks[call.req.index].prize); + + G.mongodb.cEvent('15leichong').updateOne( + { uid: call.uid, type: '15leichong' }, + { $push: { recIndex: call.req.index } } + ); + + call.succ({ + prize: confArr.tasks[call.req.index].prize + }); +} \ No newline at end of file diff --git a/src/api_s2c/hongdian/fun.ts b/src/api_s2c/hongdian/fun.ts index 4b58691..867eb16 100644 --- a/src/api_s2c/hongdian/fun.ts +++ b/src/api_s2c/hongdian/fun.ts @@ -877,7 +877,7 @@ export class HuoDongHongDianFun { } }; _res.val.meirijingxuan = await this.heiShiHongDian(call) - // _res.val.jitianhaoli = await this.heiShiLCHongDian(call) + _res.val.jitianhaoli = await this.heiShiLCHongDian(call) _res.val.niudanji = await this.heiShiNiuDanJi(call) Object.values(_res.val).forEach(x => _res.show = _res.show || x.show) return _res @@ -913,25 +913,25 @@ export class HuoDongHongDianFun { } /**黑市 积天豪礼 */ - // static async heiShiLCHongDian(call: ApiCall): Promise { - // let _res: hongdianVal = { - // show: false - // }; - // let db = await G.mongodb.cEvent('15leichong').findOne({uid: call.uid, type: '15leichong'}); - // - // if (!db) return _res; - // - // let _con = G.gc.shiwuleichong.data[db.index]; - // let payDay = await PayFun.getPayDaysBuyPayNum(call.uid, db.sTime, db.sTime + _con.time, G.gc.shiwuleichong.dayPayNeed); - // for (let index = 0; index < _con.tasks.length; index++) { - // const element = _con.tasks[index]; - // if (db.recIndex.includes(index)) continue; - // if (payDay < element.total) continue; - // _res.show = true; - // break; - // } - // return _res; - // } + static async heiShiLCHongDian(call: ApiCall): Promise { + let _res: hongdianVal = { + show: false + }; + let db = await G.mongodb.cEvent('15leichong').findOne({uid: call.uid, type: '15leichong'}); + + if (!db) return _res; + + let _con = G.gc.shiwuleichong.data[db.index]; + let payDay = await PayFun.getPayDaysBuyPayNum(call.uid, db.sTime, db.sTime + _con.time, G.gc.shiwuleichong.dayPayNeed); + for (let index = 0; index < _con.tasks.length; index++) { + const element = _con.tasks[index]; + if (db.recIndex.includes(index)) continue; + if (payDay < element.total) continue; + _res.show = true; + break; + } + return _res; + } /**黑市 扭蛋机 */ static async heiShiNiuDanJi(call: ApiCall): Promise { diff --git a/src/jsonType.ts b/src/jsonType.ts index 8788f60..3b8f547 100644 --- a/src/jsonType.ts +++ b/src/jsonType.ts @@ -1179,7 +1179,7 @@ type gc_shiwucom = { }, "comment": { "jichu_colour": string, "fujia_colour": string, "fujianum_colour": string, "putongxilian": string, "gaojixilian": string, "hero_zhuanshu": string, "buff_zhuanshu": string, "skill_zhuanshu": string, "chongzhuneed": string, "chongzhurate": string, "tilianhuobi": string, [x: string]: any }, [x: string]: any } -type gc_shiwuleichong = { tasks: { day: number, payid: string }[] } +type gc_shiwuleichong = { "dayPayNeed": number, "data": { "time": number, "tasks": { "total": number, "prize": { "a": string, "t": string, "n": number, [x: string]: any }[], [x: string]: any }[], [x: string]: any }[], [x: string]: any } type gc_shoot = { [key: string]: { "name": string, "num": number, "speed": number, "cartridge": number, "time": number, "prize": { [key: string]: { "describe": string, "hit": number, "content": { "a": string, "t": string, "n": number, [x: string]: any }[], [x: string]: any } }, [x: string]: any } } diff --git a/src/shared/protocols/event/shiwuleichong/PtlOpen.ts b/src/shared/protocols/event/shiwuleichong/PtlOpen.ts index baf05a9..5988d1b 100644 --- a/src/shared/protocols/event/shiwuleichong/PtlOpen.ts +++ b/src/shared/protocols/event/shiwuleichong/PtlOpen.ts @@ -1,10 +1,18 @@ + /** * 进入15天累充 */ -export type ReqOpen = {}; +export type ReqOpen = { + +}; export type ResOpen = { /**礼包组 取G.gc.shiwuleichong[index] */ - day: number; - payIds: string[]; + index: number; + /**开始时间 倒计时显示 sTime+G.gc.shiwuleichong[index].time */ + sTime: number; + /**已领取的奖励下标 */ + recIndex: number[]; + /**已充值的天数 */ + payDay: number; }; \ No newline at end of file diff --git a/src/shared/protocols/event/shiwuleichong/PtlRec.ts b/src/shared/protocols/event/shiwuleichong/PtlRec.ts new file mode 100644 index 0000000..0bf0af1 --- /dev/null +++ b/src/shared/protocols/event/shiwuleichong/PtlRec.ts @@ -0,0 +1,13 @@ +import { prizeType } from '../../type'; + + +/** + * 领取15天累充奖励 + */ +export type ReqRec = { + index: number; +}; + +export type ResRec = { + prize: prizeType[]; +}; \ No newline at end of file diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index 24b5ff6..49e85ce 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -2024,66 +2024,71 @@ export const serviceProto: ServiceProto = { }, { "id": 76, - "name": "event/xianshizhaomu/Buy", + "name": "event/shouchong/Receive", "type": "api" }, { "id": 77, - "name": "event/xianshizhaomu/Duihuan", + "name": "event/xianshizhaomu/Buy", "type": "api" }, { "id": 78, - "name": "event/xianshizhaomu/Lottery", + "name": "event/xianshizhaomu/Duihuan", "type": "api" }, { "id": 79, - "name": "event/xianshizhaomu/Open", + "name": "event/xianshizhaomu/Lottery", "type": "api" }, { "id": 80, - "name": "event/xianshizhaomu/Rec", + "name": "event/xianshizhaomu/Open", "type": "api" }, { "id": 81, - "name": "event/xinshoulibao/Open", + "name": "event/xianshizhaomu/Rec", "type": "api" }, { "id": 82, - "name": "event/yangchengmubiao/Buy", + "name": "event/xinshoulibao/Open", "type": "api" }, { "id": 83, - "name": "event/yangchengmubiao/Open", + "name": "event/yangchengmubiao/Buy", "type": "api" }, { "id": 84, - "name": "event/yangchengmubiao/Rec", + "name": "event/yangchengmubiao/Open", "type": "api" }, { "id": 85, - "name": "event/yibaichou/Open", + "name": "event/yangchengmubiao/Rec", "type": "api" }, { "id": 86, - "name": "event/yibaichou/Rec", + "name": "event/yibaichou/Open", "type": "api" }, { "id": 87, - "name": "event/yibaichou/RecAll", + "name": "event/yibaichou/Rec", "type": "api" }, { "id": 88, + "name": "event/yibaichou/RecAll", + "type": "api" + }, + { + "id": 89, "name": "event/yuedujijin/Open", "type": "api", "conf": { @@ -2091,157 +2096,157 @@ export const serviceProto: ServiceProto = { } }, { - "id": 89, + "id": 90, "name": "event/yuedujijin/Rec", "type": "api" }, { - "id": 90, + "id": 91, "name": "event/zhanling/BuyLv", "type": "api" }, { - "id": 91, + "id": 92, "name": "event/zhanling/Open", "type": "api" }, { - "id": 92, + "id": 93, "name": "event/zhanling/RecPrize", "type": "api" }, { - "id": 93, + "id": 94, "name": "event/zhanling/RecTask", "type": "api" }, { - "id": 94, + "id": 95, "name": "event/zhoulibao/Open", "type": "api" }, { - "id": 95, + "id": 96, "name": "event/zhoumolibao/Open", "type": "api" }, { - "id": 96, + "id": 97, "name": "event/zhoumolibao/Receive", "type": "api" }, { - "id": 97, + "id": 98, "name": "event/zixuanlibao/Buy", "type": "api" }, { - "id": 98, + "id": 99, "name": "event/zixuanlibao/Open", "type": "api" }, { - "id": 99, + "id": 100, "name": "eventlist/hdGetList", "type": "api" }, { - "id": 100, + "id": 101, "name": "friend/Apply", "type": "api" }, { - "id": 101, + "id": 102, "name": "friend/Del", "type": "api" }, { - "id": 102, + "id": 103, "name": "friend/Gift", "type": "api" }, { - "id": 103, + "id": 104, "name": "friend/List", "type": "api" }, { - "id": 104, + "id": 105, "name": "friend/Open", "type": "api" }, { - "id": 105, + "id": 106, "name": "friend/Respond", "type": "api" }, { - "id": 106, + "id": 107, "name": "friend/RmBlackList", "type": "api" }, { - "id": 107, + "id": 108, "name": "friend/Search", "type": "api" }, { - "id": 108, + "id": 109, "name": "ganbutexun/Challenge", "type": "api" }, { - "id": 109, + "id": 110, "name": "ganbutexun/Open", "type": "api" }, { - "id": 110, + "id": 111, "name": "ganhai/Fast", "type": "api" }, { - "id": 111, + "id": 112, "name": "ganhai/Fight", "type": "api" }, { - "id": 112, + "id": 113, "name": "ganhai/Log", "type": "api" }, { - "id": 113, + "id": 114, "name": "ganhai/Open", "type": "api" }, { - "id": 114, + "id": 115, "name": "ganhai/Refresh", "type": "api" }, { - "id": 115, + "id": 116, "name": "ganhai/RefreshShip", "type": "api" }, { - "id": 116, + "id": 117, "name": "ganhai/Select", "type": "api" }, { - "id": 117, + "id": 118, "name": "gmapi/Gift", "type": "api" }, { - "id": 118, + "id": 119, "name": "gmapi/Post", "type": "api" }, { - "id": 119, + "id": 120, "name": "gonghui/Apply", "type": "api", "conf": { @@ -2251,7 +2256,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 120, + "id": 121, "name": "gonghui/ApplyAll", "type": "api", "conf": { @@ -2261,7 +2266,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 121, + "id": 122, "name": "gonghui/ApplyList", "type": "api", "conf": { @@ -2271,7 +2276,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 122, + "id": 123, "name": "gonghui/Change", "type": "api", "conf": { @@ -2281,12 +2286,12 @@ export const serviceProto: ServiceProto = { } }, { - "id": 123, + "id": 124, "name": "gonghui/Create", "type": "api" }, { - "id": 124, + "id": 125, "name": "gonghui/Dissolve", "type": "api", "conf": { @@ -2296,7 +2301,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 125, + "id": 126, "name": "gonghui/Exit", "type": "api", "conf": { @@ -2306,12 +2311,12 @@ export const serviceProto: ServiceProto = { } }, { - "id": 126, + "id": 127, "name": "gonghui/FbBuyNum", "type": "api" }, { - "id": 127, + "id": 128, "name": "gonghui/FbFight", "type": "api", "conf": { @@ -2321,7 +2326,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 128, + "id": 129, "name": "gonghui/FbOpen", "type": "api", "conf": { @@ -2331,17 +2336,17 @@ export const serviceProto: ServiceProto = { } }, { - "id": 129, + "id": 130, "name": "gonghui/GetList", "type": "api" }, { - "id": 130, + "id": 131, "name": "gonghui/Join", "type": "api" }, { - "id": 131, + "id": 132, "name": "gonghui/Jx", "type": "api", "conf": { @@ -2351,7 +2356,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 132, + "id": 133, "name": "gonghui/JxOpen", "type": "api", "conf": { @@ -2361,7 +2366,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 133, + "id": 134, "name": "gonghui/List", "type": "api", "conf": { @@ -2371,7 +2376,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 134, + "id": 135, "name": "gonghui/Manage", "type": "api", "conf": { @@ -2381,7 +2386,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 135, + "id": 136, "name": "gonghui/Open", "type": "api", "conf": { @@ -2391,7 +2396,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 136, + "id": 137, "name": "gonghui/TanHe", "type": "api", "conf": { @@ -2401,7 +2406,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 137, + "id": 138, "name": "gonghui/TaskOpen", "type": "api", "conf": { @@ -2411,7 +2416,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 138, + "id": 139, "name": "gonghui/TaskReceive", "type": "api", "conf": { @@ -2421,7 +2426,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 139, + "id": 140, "name": "gonghui/UpWz", "type": "api", "conf": { @@ -2431,137 +2436,137 @@ export const serviceProto: ServiceProto = { } }, { - "id": 140, + "id": 141, "name": "gonghuibaozang/Lottery", "type": "api" }, { - "id": 141, + "id": 142, "name": "gonghuibaozang/Open", "type": "api" }, { - "id": 142, + "id": 143, "name": "gonglukuangbiao/Buy", "type": "api" }, { - "id": 143, + "id": 144, "name": "gonglukuangbiao/Fight", "type": "api" }, { - "id": 144, + "id": 145, "name": "gonglukuangbiao/Open", "type": "api" }, { - "id": 145, + "id": 146, "name": "gonglukuangbiao/Refresh", "type": "api" }, { - "id": 146, + "id": 147, "name": "gongyu/mingdao/Active", "type": "api" }, { - "id": 147, + "id": 148, "name": "gongyu/mingdao/Open", "type": "api" }, { - "id": 148, + "id": 149, "name": "gongyu/mingdao/RecPrize", "type": "api" }, { - "id": 149, + "id": 150, "name": "gongyu/mingdao/Repair", "type": "api" }, { - "id": 150, + "id": 151, "name": "gongyu/xunlianjihua/Reset", "type": "api" }, { - "id": 151, + "id": 152, "name": "gongyu/xunlianjihua/UpSkill", "type": "api" }, { - "id": 152, + "id": 153, "name": "gongyu/zuozhanjihua/SetSkill", "type": "api" }, { - "id": 153, + "id": 154, "name": "hbzb/jfs/BuyNum", "type": "api" }, { - "id": 154, + "id": 155, "name": "hbzb/jfs/Fight", "type": "api" }, { - "id": 155, + "id": 156, "name": "hbzb/jfs/GetLog", "type": "api" }, { - "id": 156, + "id": 157, "name": "hbzb/jfs/Open", "type": "api" }, { - "id": 157, + "id": 158, "name": "hbzb/jfs/Rec", "type": "api" }, { - "id": 158, + "id": 159, "name": "hbzb/jfs/Refresh", "type": "api" }, { - "id": 159, + "id": 160, "name": "hbzb/GetStatus", "type": "api" }, { - "id": 160, + "id": 161, "name": "hbzb/zbs/BuyNum", "type": "api" }, { - "id": 161, + "id": 162, "name": "hbzb/zbs/Fight", "type": "api" }, { - "id": 162, + "id": 163, "name": "hbzb/zbs/GetLog", "type": "api" }, { - "id": 163, + "id": 164, "name": "hbzb/zbs/Open", "type": "api" }, { - "id": 164, + "id": 165, "name": "hbzb/zbs/Refresh", "type": "api" }, { - "id": 165, + "id": 166, "name": "hero/Awake", "type": "api" }, { - "id": 166, + "id": 167, "name": "hero/ChangePos", "type": "api", "conf": { @@ -2569,17 +2574,17 @@ export const serviceProto: ServiceProto = { } }, { - "id": 167, + "id": 168, "name": "hero/GetList", "type": "api" }, { - "id": 168, + "id": 169, "name": "hero/JinJie", "type": "api" }, { - "id": 169, + "id": 170, "name": "hero/LvUp", "type": "api", "conf": { @@ -2587,32 +2592,32 @@ export const serviceProto: ServiceProto = { } }, { - "id": 170, + "id": 171, "name": "hero/Potency", "type": "api" }, { - "id": 171, + "id": 172, "name": "hero/Rec", "type": "api" }, { - "id": 172, + "id": 173, "name": "hero/Reset", "type": "api" }, { - "id": 173, + "id": 174, "name": "hero/Talent", "type": "api" }, { - "id": 174, + "id": 175, "name": "hero/WeaponUp", "type": "api" }, { - "id": 175, + "id": 176, "name": "hongdian/Get", "type": "api", "conf": { @@ -2620,117 +2625,117 @@ export const serviceProto: ServiceProto = { } }, { - "id": 176, + "id": 177, "name": "item/GetList", "type": "api" }, { - "id": 177, + "id": 178, "name": "item/Use", "type": "api" }, { - "id": 178, + "id": 179, "name": "jiaotang/Lottery", "type": "api" }, { - "id": 179, + "id": 180, "name": "jiaotang/Open", "type": "api" }, { - "id": 180, + "id": 181, "name": "jiuba/Lottery", "type": "api" }, { - "id": 181, + "id": 182, "name": "jiuba/Open", "type": "api" }, { - "id": 182, + "id": 183, "name": "jjc/BuyFightNum", "type": "api" }, { - "id": 183, + "id": 184, "name": "jjc/Fight", "type": "api" }, { - "id": 184, + "id": 185, "name": "jjc/FightLog", "type": "api" }, { - "id": 185, + "id": 186, "name": "jjc/Open", "type": "api" }, { - "id": 186, + "id": 187, "name": "jjc/Receive", "type": "api" }, { - "id": 187, + "id": 188, "name": "jjc/Refresh", "type": "api" }, { - "id": 188, + "id": 189, "name": "kaifujingsai/Open", "type": "api" }, { - "id": 189, + "id": 190, "name": "kaifujingsai/Receive", "type": "api" }, { - "id": 190, + "id": 191, "name": "kbzz/Apply", "type": "api" }, { - "id": 191, + "id": 192, "name": "kbzz/AutoApply", "type": "api" }, { - "id": 192, + "id": 193, "name": "kbzz/BuyNum", "type": "api" }, { - "id": 193, + "id": 194, "name": "kbzz/Fight", "type": "api" }, { - "id": 194, + "id": 195, "name": "kbzz/FightLog", "type": "api" }, { - "id": 195, + "id": 196, "name": "kbzz/GroupState", "type": "api" }, { - "id": 196, + "id": 197, "name": "kbzz/Open", "type": "api" }, { - "id": 197, + "id": 198, "name": "kbzz/RecPrize", "type": "api" }, { - "id": 198, + "id": 199, "name": "kbzz/Refresh", "type": "api", "conf": { @@ -2738,287 +2743,287 @@ export const serviceProto: ServiceProto = { } }, { - "id": 199, + "id": 200, "name": "kuangdong/AddPkNum", "type": "api" }, { - "id": 200, + "id": 201, "name": "kuangdong/GetPrize", "type": "api" }, { - "id": 201, + "id": 202, "name": "kuangdong/KdInfo", "type": "api" }, { - "id": 202, + "id": 203, "name": "kuangdong/Log", "type": "api" }, { - "id": 203, + "id": 204, "name": "kuangdong/Open", "type": "api" }, { - "id": 204, + "id": 205, "name": "kuangdong/YanShi", "type": "api" }, { - "id": 205, + "id": 206, "name": "kuangdong/ZhanLing", "type": "api" }, { - "id": 206, + "id": 207, "name": "lingzhulaixi/Open", "type": "api" }, { - "id": 207, + "id": 208, "name": "lingzhulaixi/PkBoss", "type": "api" }, { - "id": 208, + "id": 209, "name": "lingzhulaixi/PkRank", "type": "api" }, { - "id": 209, + "id": 210, "name": "lingzhulaixi/SaoDang", "type": "api" }, { - "id": 210, + "id": 211, "name": "meirishilian/Buy", "type": "api" }, { - "id": 211, + "id": 212, "name": "meirishilian/Fight", "type": "api" }, { - "id": 212, + "id": 213, "name": "meirishilian/Open", "type": "api" }, { - "id": 213, + "id": 214, "name": "msg_c2s/BindUid", "type": "msg" }, { - "id": 214, + "id": 215, "name": "msg_c2s/Pay", "type": "msg" }, { - "id": 215, + "id": 216, "name": "msg_c2s/Sync", "type": "msg" }, { - "id": 216, + "id": 217, "name": "msg_s2c/Chat", "type": "msg" }, { - "id": 217, + "id": 218, "name": "msg_s2c/ChatHelp", "type": "msg" }, { - "id": 218, + "id": 219, "name": "msg_s2c/Collection", "type": "msg" }, { - "id": 219, + "id": 220, "name": "msg_s2c/Email", "type": "msg" }, { - "id": 220, + "id": 221, "name": "msg_s2c/EmailDel", "type": "msg" }, { - "id": 221, + "id": 222, "name": "msg_s2c/EquipChange", "type": "msg" }, { - "id": 222, + "id": 223, "name": "msg_s2c/Friend", "type": "msg" }, { - "id": 223, + "id": 224, "name": "msg_s2c/GhChange", "type": "msg" }, { - "id": 224, + "id": 225, "name": "msg_s2c/GongHuiBaoZang", "type": "msg" }, { - "id": 225, + "id": 226, "name": "msg_s2c/HeroChange", "type": "msg" }, { - "id": 226, + "id": 227, "name": "msg_s2c/HongDianChange", "type": "msg" }, { - "id": 227, + "id": 228, "name": "msg_s2c/ItemChange", "type": "msg" }, { - "id": 228, + "id": 229, "name": "msg_s2c/LoginQueue", "type": "msg" }, { - "id": 229, + "id": 230, "name": "msg_s2c/LshdChange", "type": "msg" }, { - "id": 230, + "id": 231, "name": "msg_s2c/NewDay", "type": "msg" }, { - "id": 231, + "id": 232, "name": "msg_s2c/OtherLogin", "type": "msg" }, { - "id": 232, + "id": 233, "name": "msg_s2c/PayChange", "type": "msg" }, { - "id": 233, + "id": 234, "name": "msg_s2c/PayResult", "type": "msg" }, { - "id": 234, + "id": 235, "name": "msg_s2c/PeijianChange", "type": "msg" }, { - "id": 235, + "id": 236, "name": "msg_s2c/PlayerChange", "type": "msg" }, { - "id": 236, + "id": 237, "name": "msg_s2c/Private", "type": "msg" }, { - "id": 237, + "id": 238, "name": "msg_s2c/PushGiftChange", "type": "msg" }, { - "id": 238, + "id": 239, "name": "msg_s2c/SendGift", "type": "msg" }, { - "id": 239, + "id": 240, "name": "msg_s2c/ShiwuChange", "type": "msg" }, { - "id": 240, + "id": 241, "name": "msg_s2c/TaskChange", "type": "msg" }, { - "id": 241, + "id": 242, "name": "msg_s2c/Xianshilibao", "type": "msg" }, { - "id": 242, + "id": 243, "name": "pata/Fight", "type": "api" }, { - "id": 243, + "id": 244, "name": "pata/GetPrize", "type": "api" }, { - "id": 244, + "id": 245, "name": "pata/Open", "type": "api" }, { - "id": 245, + "id": 246, "name": "pata/SaoDang", "type": "api" }, { - "id": 246, + "id": 247, "name": "pay/GetList", "type": "api" }, { - "id": 247, + "id": 248, "name": "peijian/GetList", "type": "api" }, { - "id": 248, + "id": 249, "name": "peijian/JingLian", "type": "api" }, { - "id": 249, + "id": 250, "name": "peijian/JinJie", "type": "api" }, { - "id": 250, + "id": 251, "name": "peijian/LvUp", "type": "api" }, { - "id": 251, + "id": 252, "name": "peijian/OneKeyLvUp", "type": "api" }, { - "id": 252, + "id": 253, "name": "peijian/OneKeyWear", "type": "api" }, { - "id": 253, + "id": 254, "name": "peijian/Reset", "type": "api" }, { - "id": 254, + "id": 255, "name": "peijian/Rm", "type": "api" }, { - "id": 255, + "id": 256, "name": "peijian/TakeOff", "type": "api", "conf": { @@ -3026,32 +3031,32 @@ export const serviceProto: ServiceProto = { } }, { - "id": 256, + "id": 257, "name": "peijian/UnLock", "type": "api" }, { - "id": 257, + "id": 258, "name": "peijian/Wear", "type": "api" }, { - "id": 258, + "id": 259, "name": "peijiancangku/Deal", "type": "api" }, { - "id": 259, + "id": 260, "name": "peijiancangku/Jump", "type": "api" }, { - "id": 260, + "id": 261, "name": "peijiancangku/Open", "type": "api" }, { - "id": 261, + "id": 262, "name": "Bingo", "type": "api", "conf": { @@ -3059,142 +3064,142 @@ export const serviceProto: ServiceProto = { } }, { - "id": 262, + "id": 263, "name": "FightTest", "type": "api" }, { - "id": 263, + "id": 264, "name": "SyncBtn", "type": "api" }, { - "id": 264, + "id": 265, "name": "Test", "type": "api" }, { - "id": 265, + "id": 266, "name": "pushgift/Open", "type": "api" }, { - "id": 266, + "id": 267, "name": "qjzzd/Fight", "type": "api" }, { - "id": 267, + "id": 268, "name": "qjzzd/Open", "type": "api" }, { - "id": 268, + "id": 269, "name": "rank/Open", "type": "api" }, { - "id": 269, + "id": 270, "name": "shiwu/Concise", "type": "api" }, { - "id": 270, + "id": 271, "name": "shiwu/Extract", "type": "api" }, { - "id": 271, + "id": 272, "name": "shiwu/GetList", "type": "api" }, { - "id": 272, + "id": 273, "name": "shiwu/LvUp", "type": "api" }, { - "id": 273, + "id": 274, "name": "shiwu/Recast", "type": "api" }, { - "id": 274, + "id": 275, "name": "shiwu/TakeOff", "type": "api" }, { - "id": 275, + "id": 276, "name": "shiwu/Wear", "type": "api" }, { - "id": 276, + "id": 277, "name": "shootGame/Open", "type": "api" }, { - "id": 277, + "id": 278, "name": "shootGame/Rec", "type": "api" }, { - "id": 278, + "id": 279, "name": "shop/Buy", "type": "api" }, { - "id": 279, + "id": 280, "name": "shop/Open", "type": "api" }, { - "id": 280, + "id": 281, "name": "shop/Refresh", "type": "api" }, { - "id": 281, + "id": 282, "name": "sign/GetBoxPrize", "type": "api" }, { - "id": 282, + "id": 283, "name": "sign/GetPrize", "type": "api" }, { - "id": 283, + "id": 284, "name": "sign/Open", "type": "api" }, { - "id": 284, + "id": 285, "name": "slzd/Aim", "type": "api" }, { - "id": 285, + "id": 286, "name": "slzd/BuyNum", "type": "api" }, { - "id": 286, + "id": 287, "name": "slzd/Fight", "type": "api" }, { - "id": 287, + "id": 288, "name": "slzd/FightLog", "type": "api" }, { - "id": 288, + "id": 289, "name": "slzd/MyRank", "type": "api" }, { - "id": 289, + "id": 290, "name": "slzd/Open", "type": "api", "conf": { @@ -3204,77 +3209,77 @@ export const serviceProto: ServiceProto = { } }, { - "id": 290, + "id": 291, "name": "slzd/OpenFort", "type": "api" }, { - "id": 291, + "id": 292, "name": "slzd/Rec", "type": "api" }, { - "id": 292, + "id": 293, "name": "slzd/Refresh", "type": "api" }, { - "id": 293, + "id": 294, "name": "slzd/Slot", "type": "api" }, { - "id": 294, + "id": 295, "name": "tanxian/Event", "type": "api" }, { - "id": 295, + "id": 296, "name": "tanxian/FastGuaJi", "type": "api" }, { - "id": 296, + "id": 297, "name": "tanxian/Fight", "type": "api" }, { - "id": 297, + "id": 298, "name": "tanxian/GuaJi", "type": "api" }, { - "id": 298, + "id": 299, "name": "tanxian/Open", "type": "api" }, { - "id": 299, + "id": 300, "name": "tanxian/Receive", "type": "api" }, { - "id": 300, + "id": 301, "name": "task/AllFinsh", "type": "api" }, { - "id": 301, + "id": 302, "name": "task/Finsh", "type": "api" }, { - "id": 302, + "id": 303, "name": "task/Open", "type": "api" }, { - "id": 303, + "id": 304, "name": "user/CDKEY", "type": "api" }, { - "id": 304, + "id": 305, "name": "user/ChangeInfo", "type": "api", "conf": { @@ -3282,197 +3287,197 @@ export const serviceProto: ServiceProto = { } }, { - "id": 305, + "id": 306, "name": "user/ChangeName", "type": "api" }, { - "id": 306, + "id": 307, "name": "user/Fight", "type": "api" }, { - "id": 307, + "id": 308, "name": "user/GetInfo", "type": "api" }, { - "id": 308, + "id": 309, "name": "user/InfoOpen", "type": "api" }, { - "id": 309, + "id": 310, "name": "user/Login", "type": "api" }, { - "id": 310, + "id": 311, "name": "user/Ping", "type": "api" }, { - "id": 311, + "id": 312, "name": "user/Renown", "type": "api" }, { - "id": 312, + "id": 313, "name": "user/RenownBuy", "type": "api" }, { - "id": 313, + "id": 314, "name": "user/RenownGetPrize", "type": "api" }, { - "id": 314, + "id": 315, "name": "user/RenownOpen", "type": "api" }, { - "id": 315, + "id": 316, "name": "user/Tujian", "type": "api" }, { - "id": 316, + "id": 317, "name": "weixiuchang/Decompose", "type": "api" }, { - "id": 317, + "id": 318, "name": "weixiuchang/Exchange", "type": "api" }, { - "id": 318, + "id": 319, "name": "weixiuchang/Open", "type": "api" }, { - "id": 319, + "id": 320, "name": "weixiuchang/UpLv", "type": "api" }, { - "id": 320, + "id": 321, "name": "weixiuchang/UpStar", "type": "api" }, { - "id": 321, + "id": 322, "name": "wzry/AutoBaoMing", "type": "api" }, { - "id": 322, + "id": 323, "name": "wzry/BaoMing", "type": "api" }, { - "id": 323, + "id": 324, "name": "wzry/catFightLog", "type": "api" }, { - "id": 324, + "id": 325, "name": "wzry/CatGroup", "type": "api" }, { - "id": 325, + "id": 326, "name": "wzry/DldFight", "type": "api" }, { - "id": 326, + "id": 327, "name": "wzry/DldRefre", "type": "api" }, { - "id": 327, + "id": 328, "name": "wzry/JingCai", "type": "api" }, { - "id": 328, + "id": 329, "name": "wzry/JingCaiOpen", "type": "api" }, { - "id": 329, + "id": 330, "name": "wzry/Open", "type": "api" }, { - "id": 330, + "id": 331, "name": "wzry/UpdateFight", "type": "api" }, { - "id": 331, + "id": 332, "name": "wzry/Wzzd", "type": "api" }, { - "id": 332, + "id": 333, "name": "wzry/ZuanShiOpen", "type": "api" }, { - "id": 333, + "id": 334, "name": "xstask/AllGet", "type": "api" }, { - "id": 334, + "id": 335, "name": "xstask/Get", "type": "api" }, { - "id": 335, + "id": 336, "name": "xstask/LvUp", "type": "api" }, { - "id": 336, + "id": 337, "name": "xstask/OnekeyReceive", "type": "api" }, { - "id": 337, + "id": 338, "name": "xstask/Open", "type": "api" }, { - "id": 338, + "id": 339, "name": "xstask/Receive", "type": "api" }, { - "id": 339, + "id": 340, "name": "xstask/Refresh", "type": "api" }, { - "id": 340, + "id": 341, "name": "yongbingzhuzhan/Handle", "type": "api" }, { - "id": 341, + "id": 342, "name": "zhanqianbushu/ChangePos", "type": "api" }, { - "id": 342, + "id": 343, "name": "zhanqianbushu/Select", "type": "api" }, { - "id": 343, + "id": 344, "name": "zhanqianbushu/Up", "type": "api" }