Commit 47da9a1c authored by 邱旭's avatar 邱旭

1

parent 9d84a4bd
......@@ -2328,6 +2328,21 @@ export class NetManager extends ABNetManager {
this.send(net);
}
public getConfigInfo(callback: Function): void {
const net: INetData = {
name: NetName.GET_TASKINFO,
uri: window['duiba'] + '/customActivity/happyclear/getConfigInfo',
type: 'get',
dataType: 'json',
hideMsg: true,
param: {
activityId: DataManager.ins.customCfgData.actId,
},
callback: callback
};
this.send(net);
}
/**
* 任务中心领奖
* @param callback
......
......@@ -205,6 +205,11 @@ const config = {
'/customActivity/happyclear/getTestShowTurntable':{
data:'./happyclear/getTestShowTurntable.json'
},
//////////////////// 活动配置信息 ////////////////////
'/customActivity/happyclear/getConfigInfo':{
data:'./happyclear/getConfigInfo.json'
},
};
for (let item in config) {
......
{
"success": true,
"code": "0000000000",
"desc": "OK",
"timestamp": 1585203242370,
"data": {
"signConf": {
"closeStatus": false,
"sixDaysBeforeOptions": [
],
"theSeventhDayOptions": null
},
"luckyDrawConf": {
"enable": true,
"id": null,
"baseCount": 20,
"bonusCount": 0,
"prizeList": [
{
"id": "",
"day": null,
"categoryType": 2,
"title": "11",
"rate": "0",
"minValue": null,
"maxValue": null,
"coinType": null,
"realValue": null,
"propType": null,
"num": 3,
"img": "",
"smallImg": null,
"appItemId": null,
"name": "",
"value": ""
},
{
"id": "",
"day": null,
"categoryType": 4,
"title": "元宝88个",
"rate": "99",
"minValue": 75,
"maxValue": 75,
"coinType": 1,
"realValue": null,
"propType": null,
"num": null,
"img": "",
"smallImg": null,
"appItemId": null,
"name": "",
"value": ""
},
{
"id": "",
"day": null,
"categoryType": 7,
"title": "虚拟商品1",
"rate": "0",
"minValue": null,
"maxValue": null,
"coinType": null,
"realValue": null,
"propType": null,
"num": null,
"img": "//yun.dui88.com/images/201910/mvureleych.png",
"smallImg": null,
"appItemId": 9517,
"name": "标题1",
"value": "direct_success_tag1"
},
{
"id": "",
"day": null,
"categoryType": 3,
"title": "1",
"rate": "1",
"minValue": null,
"maxValue": null,
"coinType": null,
"realValue": null,
"propType": 2,
"num": null,
"img": "",
"smallImg": null,
"appItemId": null,
"name": "",
"value": ""
}
]
},
"taskConfs": [
{
"id": 1,
"appId": 1,
"activityId": 83619,
"taskName": "狮狮连萌下单任务",
"taskMark": "SUB446971598063218688",
"isContinuousTask": 0,
"tips": "",
"deleted": null,
"gmtCreate": null,
"gmtModified": null,
"prizeList": [
{
"id": "250",
"day": null,
"categoryType": 4,
"title": "固定十元宝",
"rate": "100",
"minValue": 2,
"maxValue": 12,
"coinType": 1,
"realValue": null,
"propType": null,
"num": null,
"img": null,
"smallImg": null,
"appItemId": null,
"name": null,
"value": null
}
]
},
{
"id": 18,
"appId": 1,
"activityId": 83619,
"taskName": "testaa",
"taskMark": "123",
"isContinuousTask": 1,
"tips": "66",
"deleted": null,
"gmtCreate": null,
"gmtModified": null,
"prizeList": [
{
"id": "266",
"day": null,
"categoryType": 4,
"title": null,
"rate": "100",
"minValue": 1,
"maxValue": 2,
"coinType": 2,
"realValue": null,
"propType": null,
"num": null,
"img": "",
"smallImg": null,
"appItemId": null,
"name": null,
"value": ""
}
]
}
]
}
}
\ 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