Commit 3862e7ff authored by wildfirecode's avatar wildfirecode

1

parent 3740ffce
No preview for this file type
......@@ -9,5 +9,16 @@
"value": "[1,2]"
}
]
},
"16680af117c": {
"bindingDataTestObj": []
},
"16680af117d": {
"bindingDataTestObj": [
{
"key": "data.message",
"value": "积分不足 \\n 多赚点再来吧"
}
]
}
}
\ No newline at end of file
......@@ -40,6 +40,7 @@
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="libs/downloadApp.js"></script>
<script>
// localStorage.clear();
var __t0__ = Date.now();
......
/**
* @note 函数 window.downloadApp
* @modify by zsl@duiba.com.cn
* @date 2016-07-31
* @modify 2016-09-01
*/
;
(function($) {
var ua = navigator.userAgent.toLowerCase();
// -------------------------- downloadApp主要函数 --------------------------//
var downloadApp = function() {
if (window.downloadAppConfig) {
if (ua.match(/iphone/ig) || ua.match(/ipad/ig)){
//ios
download();
}else{
if (window.downloadAppConfig.confirm || window.downloadAppConfig.confirm == 'true') {
$.modal({
type: 'confirm',
title: '下载确认',
section: '即将开始下载,是否继续',
callback: {
save: function() {
if (window.downloadAppConfig.stats) {
$.ajax({
url: window.downloadAppConfig.stats,
complete: function() {
download();
}
})
} else {
download();
}
}
}
})
}else{
download();
}
}
}else {
console.error('请先配置参数window.downloadAppConfig');
}
}
// -------------------------- format函数 --------------------------//
var formatUrl = function(downloadUrl) {
if (downloadUrl.indexOf('dbnewopen') != -1) {
window.location.href = downloadUrl;
} else {
if (downloadUrl.indexOf('?') !== -1) {
// modify by zsl date2016-07-28
if (downloadUrl.indexOf('#') !== -1) {
// 如果包含#号
window.location.href = downloadUrl.split('#')[0] + '&dbnewopen#' + downloadUrl.split('#')[1];
}else {
window.location.href = downloadUrl + '&dbnewopen';
}
} else if (downloadUrl !== '') {
window.location.href = downloadUrl + '?dbnewopen';
}
}
}
// -------------------------- URL处理函数 --------------------------//
var download = function() {
var openUrl = window.downloadAppConfig.openUrl || '';
var downloadUrl = '';
// 淘客url处理 start ------------------------------------------------------------
var TKHelper,
isSpecial = false;
if ( window.TBSDK_ADA !== undefined ) {
TKHelper = function(downloadUrl) {
var isTBSDK = function() {
isSpecial = true;
if (window.isSpecialApp) {
window.location.href = downloadUrl;
} else {
window.BC_SDK.openPage({
url: downloadUrl
});
}
};
// 如果包含手淘url 唤起手淘App的功能
if (downloadUrl.indexOf('taoquan.taobao.com') !== -1 || downloadUrl.indexOf('shop.m.taobao.com') !== -1 ) {
window.BC_SDK = TBSDK_ADA.init({
"appkey": '23402401',
openTBAPP: true
});
isTBSDK();
}
// 如果是s.click.taobao.com的URL,点击则调用百川goTaoke方法唤起手淘
if(downloadUrl.indexOf('s.click.taobao.com') !== -1) {
window.BC_SDK = TBSDK_ADA.init({
"appkey": '23454468',
"appSecret": '3846ae97316a0b31321a8f493f826986',
openTBAPP: true
});
isTBSDK();
}
};
}
// 淘客url处理 end -----------------------------------------------------------
// 特殊处理
var handleSpecial = function(downloadUrl) {
// 如果downloadUrl是weixin直接打开url(加了&dbnewopen SDK唤起weixin 中间会产生一个空白页)
if (downloadUrl && downloadUrl.indexOf('weixin://') !== -1) {
isSpecial = true;
window.location.href = downloadUrl;
return;
}
// @special openUrl为微信服务,
if (openUrl && openUrl.indexOf('weixin://') !== -1) {
return;
}
// 如果含有手淘url 唤起手淘App的功能
if (window.TBSDK_ADA !== undefined ) {
TKHelper(downloadUrl);
}
};
if (ua.match(/iphone/ig) || ua.match(/ipad/ig)) {
// ios
downloadUrl = window.downloadAppConfig.iosDownloadUrl;
handleSpecial(downloadUrl);
if(isSpecial){
return;
}
if (ua.match(/MicroMessenger/ig)) {
formatUrl(downloadUrl);
} else {
if (openUrl) {
window.location.href = openUrl;
} else {
if (downloadUrl.indexOf('itunes.apple.com') != -1) {
var ifr = document.createElement('iframe');
ifr.src = downloadUrl;
ifr.style.display = 'none';
window.setTimeout(function() {
document.body.appendChild(ifr);
}, 300)
} else {
formatUrl(downloadUrl);
}
}
}
} else {
// android
downloadUrl = window.downloadAppConfig.androidDownloadUrl;
handleSpecial(downloadUrl);
if(isSpecial){
return;
}
// 如果有oepnUrl
if (openUrl) {
window.location.href = openUrl;
return;
}
if (downloadUrl.indexOf('.apk') != -1 || downloadUrl.indexOf('dbnewopen') != -1) {
window.location.href = downloadUrl;
} else {
formatUrl(downloadUrl);
}
}
}
window.downloadApp = downloadApp;
})(Zepto);
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"alert_2","version":5,"files":["../assets/alert/Bitmap-4.png","../assets/alert/Bitmap-2.png","../assets/alert/Bitmap-1.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"rule_3","version":5,"files":["../assets/rule/ruleBg.png","../assets/rule/X.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"alert_4","version":5,"files":["../assets/alert/alertbg.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"guide_4","version":5,"files":["../assets/startScene/guide/guide_tips.png","../assets/startScene/guide/guide_hand.png","../assets/startScene/guide/guide_dialog.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"guide_1","version":5,"files":["../assets/startScene/guide/guide_tips.png","../assets/startScene/guide/guide_hand.png","../assets/startScene/guide/guide_dialog.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"msg_0","version":5,"files":["../assets/msg/msgBg.png","../assets/msg/x.png","../assets/msg/sureBtn.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"option_6","version":5,"files":["../assets/option/line2.png","../assets/option/prizeBg.png","../assets/option/X-1.png","../assets/option/line.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"option_3","version":5,"files":["../assets/option/line2.png","../assets/option/prizeBg.png","../assets/option/X-1.png","../assets/option/line.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"loading_1","version":5,"files":["../assets/loading/bg.png","../assets/loading/progress.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"rule_0","version":5,"files":["../assets/rule/ruleBg.png","../assets/rule/X.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"startscene_5","version":5,"files":["../assets/startScene/ruleBtn.png","../assets/startScene/optionBtn.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"startscene_2","version":5,"files":["../assets/startScene/ruleBtn.png","../assets/startScene/optionBtn.png"]}
\ No newline at end of file
{
"groups": [
{
"keys": "msgBg_png,x_png,sureBtn_png",
"name": "msg"
},
{
"keys": "bg_png,progress_png",
"name": "loading"
},
{
"keys": "Bitmap-4_png,Bitmap-2_png,Bitmap-1_png",
"name": "alert"
},
{
"keys": "ruleBg_png,X_png",
"name": "rule"
......@@ -27,49 +15,17 @@
{
"keys": "line2_png,prizeBg_png,X-1_png,line_png",
"name": "option"
}
],
"resources": [
{
"url": "assets/alert/Bitmap-1.png",
"type": "image",
"name": "Bitmap-1_png"
},
{
"url": "assets/alert/Bitmap-2.png",
"type": "image",
"name": "Bitmap-2_png"
},
{
"url": "assets/alert/Bitmap-4.png",
"type": "image",
"name": "Bitmap-4_png"
},
{
"url": "assets/msg/msgBg.png",
"type": "image",
"name": "msgBg_png"
},
{
"url": "assets/msg/sureBtn.png",
"type": "image",
"name": "sureBtn_png"
},
{
"url": "assets/msg/x.png",
"type": "image",
"name": "x_png"
},
{
"url": "assets/loading/bg.png",
"type": "image",
"name": "bg_png"
"keys": "alertbg_png",
"name": "alert"
},
{
"url": "assets/loading/progress.png",
"type": "image",
"name": "progress_png"
},
"keys": "prizePanelbg_png,PrizePanelX_png,prizePanelUseBtn_png",
"name": "prize"
}
],
"resources": [
{
"url": "assets/rule/X.png",
"type": "image",
......@@ -171,6 +127,26 @@
"url": "assets/option/line.png",
"type": "image",
"name": "line_png"
},
{
"url": "assets/alert/alertbg.png",
"type": "image",
"name": "alertbg_png"
},
{
"url": "assets/prize/prizePanelbg.png",
"type": "image",
"name": "prizePanelbg_png"
},
{
"url": "assets/prize/PrizePanelX.png",
"type": "image",
"name": "PrizePanelX_png"
},
{
"url": "assets/prize/prizePanelUseBtn.png",
"type": "image",
"name": "prizePanelUseBtn_png"
}
]
}
\ No newline at end of file
......@@ -2,10 +2,12 @@
"skins": {},
"autoGenerateExmlsList": true,
"exmls": [
"resource/skins/AlertSkin.exml",
"resource/skins/OptionItemSkin.exml",
"resource/skins/OptionsSkin.exml",
"resource/skins/RuleSkin.exml",
"resource/skins/StartSkin.exml",
"resource/skins/PrizeSkin.exml",
"resource/skins/VScrollBarSkin.exml"
],
"path": "resource/default.thm.json"
......
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="AlertSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16680af117d"/>
<e:Button id="closeBtn" label="" y="99" horizontalCenter="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="alertbg_png" source.down="alertbg_png" source.disabled="alertbg_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Label touchEnabled="false" text="{data.message}" y="489" textColor="0xdd773d" size="50" width="452" anchorOffsetY="0" horizontalCenter="0" height="181" textAlign="center" bold="true"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="PrizeSkin" width="750" height="1000" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="prizePanelbg_png" y="114.85" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="602" y="60">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="PrizePanelX_png" source.down="PrizePanelX_png" source.disabled="PrizePanelX_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="useBtn" label="" x="234.5" y="712">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="prizePanelUseBtn_png" source.down="prizePanelUseBtn_png" source.disabled="prizePanelUseBtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Image id="img" y="403" horizontalCenter="0" touchEnabled="true" source="{data.img}"/>
<e:Label text="{data.name}" y="659" horizontalCenter="0" width="508" textAlign="center" size="28"/>
</e:Skin>
\ No newline at end of file
import MainBase from "../libs/tl/MainBase";
import { NetManager } from "../libs/tw/manager/NetManager";
import Msg from "./alert/Msg";
import Alert from "./alert/Alert";
import PanelCtrl from "./ctrls/panelCtrl";
import SceneCtrl from "./ctrls/sceneCtrl";
import OptionsPanel from "./optionsPanel/OptionsPanel";
import RulePanel from "./rulePanel/RulePanel";
import StartScene from "./startScene/StartScene";
import { ModuleTypes } from "./types/sceneTypes";
import PrizePanel from "./prizePanel/PrizePanel";
class Main extends MainBase {
protected registerModules() {
PanelCtrl.instance.registerPanelClass(ModuleTypes.MSG_PANEL, Msg);
PanelCtrl.instance.registerPanelClass(ModuleTypes.ALERT_PANEL, Alert);
PanelCtrl.instance.registerPanelClass(ModuleTypes.RULE_PANEL, RulePanel);
PanelCtrl.instance.registerPanelClass(ModuleTypes.OPTIONS_PANEL, OptionsPanel);
PanelCtrl.instance.registerPanelClass(ModuleTypes.PRIZE_PANEL, PrizePanel);
SceneCtrl.instance.registerSceneClass(ModuleTypes.START_SCENE, StartScene);
}
......
import Panel from "../views/Panel";
export default class Alert extends Panel {
set message(val) {
}
set btnTxt(val) {
}
start(data) {
const { message, btnTxt } = data;
this.data.message = message;
......@@ -17,6 +9,6 @@ export default class Alert extends Panel {
protected get skinKey() { return 'Alert' }
protected get closeBtns(): eui.Button[] {
return [this['closeBtn'], this['confirmBtn']]
return [this['closeBtn']]
}
}
\ No newline at end of file
import Panel from "../views/Panel";
export default class Msg extends Panel {
constructor(){
super()
}
set message(val) {
}
set btnTxt(val) {
}
start(data) {
const { msg } = data;
this.data.message = msg;
this['msgTxt'].text = `${this.data.message }`
switch(data.type){
case 'creditsOut':
if(this['creditsOutBtn']){
this['creditsOutBtn'].visible = true;
this['creditsOutBtn'].enabled = true;
}
if(this['confirmBtn']){
this['confirmBtn'].visible = false;
this['confirmBtn'].enabled = false;
}
break;
case 'err':
if(this['creditsOutBtn']){
this['creditsOutBtn'].visible = false;
this['creditsOutBtn'].enabled = false;
}
if(this['confirmBtn']){
this['confirmBtn'].visible = true;
this['confirmBtn'].enabled = true;
}
break;
default:
if(this['creditsOutBtn']){
this['creditsOutBtn'].visible = false;
this['creditsOutBtn'].enabled = false;
}
if(this['confirmBtn']){
this['confirmBtn'].visible = true;
this['confirmBtn'].enabled = true;
}
break;
}
}
protected get creditsOutBtns(): eui.Button[] {
return [this['creditsOutBtn']]
}
protected get closeBtns(): eui.Button[] {
return [this['closeBtn']]
}
protected get skinKey() { return 'Msg' }
}
\ No newline at end of file
......@@ -20,6 +20,7 @@ export default class PanelCtrl {
panel.start(data);
this.add(panel);
egret.Tween.get(panel).set({ y: -200 }).to({ y: 0 }, 500, egret.Ease.getBackOut(2));
return panel;
}
addMask() {
......
import { ModuleTypes } from "../types/sceneTypes";
import PanelCtrl from "./panelCtrl";
export default (message: string, btnTxt?: string) => {
PanelCtrl.instance.show(ModuleTypes.ALERT_PANEL, { message: message, btnTxt: btnTxt })
}
\ No newline at end of file
export default (message: string, btnTxt?: string) =>
PanelCtrl.instance.show(ModuleTypes.ALERT_PANEL, { message: message, btnTxt: btnTxt });
\ No newline at end of file
......@@ -18,6 +18,7 @@ export default class OptionsPanel extends Panel {
list: eui.List;
updatePanel() {
DataManager.ins.getOptionsData.optionList.forEach(item => {
item['scopeOrigin'] = item['scopeOrigin'] || item.scope;
item.scope = this.getScope(item);
});
this.list.useVirtualLayout = false;
......@@ -30,7 +31,7 @@ export default class OptionsPanel extends Panel {
if (data.autoOpen) {
return '阳光普照';
}
return `第${data.scope}名`;
return `第${data['scopeOrigin']}名`;
}
protected get skinKey() { return 'Options' }
......
import Panel from "../views/Panel";
import { DataManager } from "../../libs/tw/manager/DataManager";
import getOptionImgSize from "./data/getOptionImgSize";
import ImgSizeType from "./data/ImgSizeType";
import { LotteryType } from "../../libs/tw/enum/LotteryType";
import { NetManager } from "../../libs/tw/manager/NetManager";
import showLog from "./ctrl/showLog";
export default class PrizePanel extends Panel {
start(data) {
const lottery = DataManager.ins.gameGetSubmitResultData.lottery;
this.data = lottery;
const sizeType = getOptionImgSize(lottery);
if (ImgSizeType.BIG === sizeType) {
this.img.width = this.picBigWidth;
this.img.height = this.picBigWidth / this.bigPicRatio;
} else {
this.img.width = this.img.height = this.picWidth;
}
showLog(lottery);
}
get picWidth() { return 240 };
get picBigWidth() { return 510 };
get bigPicRatio() { return 640 / 300 }
initEvents() {
super.initEvents();
this.useBtn.once(egret.TouchEvent.TOUCH_TAP, this.onUse, this);
this.img.once(egret.TouchEvent.TOUCH_TAP, this.onUse, this);
}
onUse() {
const lottery = DataManager.ins.gameGetSubmitResultData.lottery;
if (lottery.type == LotteryType.COUPON || lottery.type == LotteryType.LUCKY) {
window["downloadAppConfig"] =
{
openUrl: lottery.openUrl,
iosDownloadUrl: lottery.iosDownloadUrl,
androidDownloadUrl: lottery.androidDownloadUrl,
confirm: lottery.confirm ? lottery.confirm : false
};
window["downloadApp"]();
if (lottery.type == "lucky") {
NetManager.ins.spmclick(DataManager.ins.gameGetSubmitResultData.exposure);
}
}
else {
window.location.href = lottery.link;
}
}
img: eui.Image;
useBtn: eui.Button;
protected get skinKey() { return 'Prize' }
protected get closeBtns(): eui.Button[] {
return [this['closeBtn']]
}
}
\ No newline at end of file
import { LotteryData } from "../../../libs/tw/data/common/lottery/LotteryData";
import { NetManager } from "../../../libs/tw/manager/NetManager";
import { DataManager } from "../../../libs/tw/manager/DataManager";
const showLog = (lottery: LotteryData) => {
//曝光埋点
if (lottery.imgExposure) {
NetManager.ins.showLog(lottery.imgExposure);
}
//如果是福袋还需要推啊曝光
if (lottery.type == "lucky") {
NetManager.ins.spmshow(DataManager.ins.gameGetSubmitResultData.exposure);
}
}
export default showLog;
\ No newline at end of file
class ImgSizeType {
static BIG = 'big';
static SMALL = 'small';
}
export default ImgSizeType
\ No newline at end of file
import { LotteryData } from "../../../libs/tw/data/common/lottery/LotteryData";
import { LotteryType } from "../../../libs/tw/enum/LotteryType";
import ImgSizeType from "./ImgSizeType";
const getOptionImgSize = (lottery: LotteryData) => {
let size:string;
if (lottery.type == LotteryType.ALIPAY ||
lottery.type == LotteryType.VIRTUAL ||
lottery.type == LotteryType.OBJECT) {
size = ImgSizeType.SMALL
} else {
size = ImgSizeType.BIG;
}
return size;
}
export default getOptionImgSize
\ No newline at end of file
......@@ -14,6 +14,8 @@ import { DataManager } from "../../libs/tw/manager/DataManager";
import submitAfterDostart from "../../libs/new_tw/ctrls/submitAfterDostart";
import PanelCtrl from "../ctrls/panelCtrl";
import { ModuleTypes } from "../types/sceneTypes";
import showAlertPanel from "../ctrls/showAlertPanel";
import Panel from "../views/Panel";
const { TouchEvent } = egret;
export default class StartScene extends Scene {
......@@ -55,7 +57,7 @@ export default class StartScene extends Scene {
this.getLayer(LayerTypes.net).addChild(net);
this._net = net;
this.getLayer(LayerTypes.bg).touchEnabled=true;
this.getLayer(LayerTypes.bg).touchEnabled = true;
if (__debug__) {
this._debug = new debug(this.getLayer(LayerTypes.top));
......@@ -106,19 +108,28 @@ export default class StartScene extends Scene {
}
}
openBoxMode() {
openBox() {
submitAfterDostart(() => {
this._cathchedBoxOpenState.destroy();
this._cathchedBoxOpenState = null;
this._isBoxFlying = false;
setTimeout(() => {
this.boxListCtrl.resume();
this._monkey.startShaking();
}, 2000);
let panel: Panel;
if (DataManager.ins.gameGetSubmitResultData.lottery) {
panel = PanelCtrl.instance.show(ModuleTypes.PRIZE_PANEL)
} else {
panel = showAlertPanel('手气不佳 \n 再试一次吧~');
}
panel.once('onDestroy', this.onPanelDestroy, this);
NetManager.ins.getInfo(() => { this._mode1DostartTag = true; console.log('小孩儿休息完毕.') });
}, this._cathchedBoxOpenState.boxData.award);
}
onPanelDestroy() {
this.boxListCtrl.resume();
this._monkey.startShaking();
}
checkCanDoAtion() {
if (!DataManager.ins.getInfoData) {
console.log('getinfo接口没有返回');
......@@ -132,6 +143,14 @@ export default class StartScene extends Scene {
console.log('mode1,submitAfterDostart没有执行完成');
return false;
}
if (DataManager.ins.getInfoData.status.code == 2) {//积分不足
showAlertPanel('积分不足 \n 多赚点积分再来吧');
return false;
}
if (DataManager.ins.getInfoData.status.code == 3) {//参与次数用完
showAlertPanel('参与次数用完 \n 请明天再来吧');
return false;
}
return true;
}
......@@ -183,7 +202,7 @@ export default class StartScene extends Scene {
egret.Tween.get(this._catchedBox).to({ alpha: 0 }, 500);
this._catchedBox = null;
this._cathchedBoxOpenState.start();
this.openBoxMode();
this.openBox();
}
private _handX: number;
......@@ -218,11 +237,11 @@ export default class StartScene extends Scene {
this['optionBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_optionBtn, this);
}
onTap_ruleBtn(e:egret.Event) {
onTap_ruleBtn(e: egret.Event) {
PanelCtrl.instance.show(ModuleTypes.RULE_PANEL);
}
onTap_optionBtn(e:egret.Event) {
onTap_optionBtn(e: egret.Event) {
PanelCtrl.instance.show(ModuleTypes.OPTIONS_PANEL);
}
......
......@@ -5,5 +5,5 @@ export enum ModuleTypes {
ALERT_PANEL,
RULE_PANEL,
OPTIONS_PANEL,
MSG_PANEL
PRIZE_PANEL
}
\ No newline at end of file
{
"success": true,
"code": null,
"desc": null,
"data": {
"success": true,
"message": "请求成功",
"tip": "2元宝/次",
"option": null,
"useDpm": "{\"dpm\":\"1.19.1.0\",\"consumerId\":1,\"domain\":\"//embedlog.duiba.com.cn\",\"appId\":1,\"dcm\":\"\"}",
"againDpm": "{\"dpm\":\"1.19.3.0\",\"consumerId\":1,\"domain\":\"//embedlog.duiba.com.cn\",\"appId\":1}",
"flag": false
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment