blog_backend_api/vendor/wapi/config/task_jixiang.go

708 lines
11 KiB
Go

package config
/*********************
*单独渠道Task任务模型基类相关配置
**********************/
/* 参数说明:
* id (int) 任务ID
* name (string) 任务名称
* hlv (string) example: "eq1" 荣誉等级限定条件字符串, 开头两个字符为比较符, 示意如下: eq:相等, gt:大于, ge:大于等于, le:小于等于, lt:小于
* category (int) 任务类型, 1:一次性任务, 2:新手一次性任务, 3:等级一次性任务, 4:每日一次性任务, 5:特殊任务(永久), 6:限时任务
* condition (int) 任务完成条件要求(整形数值), 根据不同任务意义可能不同, 比如有些任务表示为是否完成, 那么0既是未完成, 1是已完成; 有些任务可能会表示为要进行多少局才算满足, 比如30
* condition_add (string) 任务条件附加值, 一般是与荣誉等级相关的公式
* one (int) 奖励是否为单选, 1:奖励单选, 0或不存在:非单选
* awards (array) 任务奖励, [1]道具id, [2]奖励道具数量
* vip (array) VIP额外奖励, [1]道具id, [2]奖励道具数量
* timelimit (int) 限时时间, 单位(秒), 0或空为不限时
* aa (bool) 是否自动激活任务
*/
//JiXiangTask 吉祥/任务列表不同
var JiXiangTask = map[int]map[string]interface{}{
23: JixiangTask23,
86: JixiangTask86,
87: JixiangTask87,
88: JixiangTask88,
89: JixiangTask89,
90: JixiangTask90,
91: JixiangTask91,
92: JixiangTask92,
93: JixiangTask93,
94: JixiangTask94,
95: JixiangTask95,
96: JixiangTask96,
97: JixiangTask97,
98: JixiangTask98,
99: JixiangTask99,
100: JixiangTask100,
101: JixiangTask101,
105: JixiangTask105,
106: JixiangTask106,
107: JixiangTask107,
108: JixiangTask108,
109: JixiangTask109,
110: JixiangTask110,
}
//JixiangTask23 贵族月卡30日礼包
var JixiangTask23 = map[string]interface{}{
"id": 23,
"name": "贵族月卡30日礼包",
"category": 6,
"hlv": "gt0",
"condition": 200,
"awards": map[int][][]int{
1: {
{PROP_MONEY, 20000},
{404, 2},
{272, 3},
{273, 3},
{274, 3},
{275, 3},
{276, 3},
{277, 3},
{278, 3},
{279, 3},
{280, 3},
{281, 3},
},
},
"extra": [][]int{
{PROP_MONEY, 150000},
{401, 15},
},
"timelimit": 2592000,
}
//JixiangTask86 每日分享
var JixiangTask86 = map[string]interface{}{
"id": 86,
"name": "每日分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 4,
4: 6,
5: 8,
},
"ver": 2,
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{16, 10},
},
3: {
{15, 4000},
},
4: {
{16, 30},
},
5: {
{15, 10000},
},
},
}
//JixiangTask87 星耀月卡30日礼包
var JixiangTask87 = map[string]interface{}{
"id": 87,
"name": "星耀月卡30日礼包",
"category": 6,
"hlv": "gt0",
"condition": 200,
"awards": map[int][][]int{
1: {
{PROP_MONEY, 20000},
{405, 2},
{272, 10},
{273, 10},
{274, 10},
{275, 10},
{276, 10},
{277, 10},
{278, 10},
{279, 10},
{280, 10},
{281, 10},
},
},
"extra": [][]int{
{PROP_MONEY, 2000000},
{405, 50},
{263, 10000},
},
"timelimit": 2592000,
}
//JixiangTask88 每日分享
var JixiangTask88 = map[string]interface{}{
"id": 88,
"name": "每日分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{
1: {
{403, 1},
},
},
}
//JixiangTask89 退出分享
var JixiangTask89 = map[string]interface{}{
"id": 89,
"name": "退出分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{},
}
//JixiangTask90 连胜分享
var JixiangTask90 = map[string]interface{}{
"id": 90,
"name": "连胜分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{},
}
//JixiangTask91 特殊牌型分享
var JixiangTask91 = map[string]interface{}{
"id": 91,
"name": "特殊牌型分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{},
}
//JixiangTask92 荣誉分享
var JixiangTask92 = map[string]interface{}{
"id": 92,
"name": "荣誉分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int][]int{
1: {1, 4},
2: {5, 9},
3: {10, 30},
4: {31, 99999},
},
"awards": map[int][][]int{
1: {
{15, 5000},
},
2: {
{15, 4000},
},
3: {
{15, 3000},
},
4: {
{15, 2000},
},
},
}
//JixiangTask93 荣誉等级
var JixiangTask93 = map[string]interface{}{
"id": 93,
"name": "荣誉等级",
"category": 3,
"aa": true,
"hlv": "gt0",
"condition": map[int][]int{
0: {0, 999},
1: {1000, 5999},
2: {6000, 55999},
3: {56000, 305999},
4: {306000, 1555999},
5: {1556000, 9999999999},
},
"awards": map[int][][]int{
1: {
{15, 10000},
{16, 50},
},
2: {
{15, 60000},
{16, 200},
},
3: {
{15, 300000},
{16, 600},
},
4: {
{15, 1500000},
{16, 1800},
},
5: {
{15, 5000000},
{16, 5000},
},
},
}
//JixiangTask94 新手签到
var JixiangTask94 = map[string]interface{}{
"id": 94,
"name": "新手签到",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{15, 2000},
{401, 2},
},
3: {
{15, 2000},
{276, 2},
{277, 2},
{280, 2},
{279, 2},
{275, 2},
},
4: {
{15, 2000},
{405, 5},
},
5: {
{15, 2000},
{16, 10},
},
},
"double": []int{1, 2, 3, 4, 5},
}
//JixiangTask95 新手签到分享
var JixiangTask95 = map[string]interface{}{
"id": 95,
"name": "新手签到分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{15, 2000},
{401, 2},
},
3: {
{15, 2000},
{276, 2},
{277, 2},
{280, 2},
{279, 2},
{275, 2},
},
4: {
{15, 2000},
{405, 5},
},
5: {
{15, 2000},
{16, 10},
},
},
}
//JixiangTask96 每日签到
var JixiangTask96 = map[string]interface{}{
"id": 96,
"name": "每日签到",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
6: 6,
7: 7,
8: 8,
9: 9,
10: 10,
11: 11,
12: 12,
13: 13,
14: 14,
15: 15,
},
"awards": map[int][][]int{
1: {
{15, 1000},
},
2: {
{15, 2000},
},
3: {
{16, 15},
},
4: {
{15, 2000},
},
5: {
{401, 1},
},
6: {
{15, 3000},
},
7: {
{15, 5000},
{276, 10},
{277, 10},
{280, 10},
{279, 10},
{275, 10},
},
},
"vip_condition": map[int][]int{
1: {0, 2},
2: {3, 6},
3: {7, 10},
4: {11, 13},
5: {14, 16},
},
"vip_awards": map[int]interface{}{
1: 1,
2: 1.5,
3: 2,
4: 2.5,
5: 3,
},
}
//JixiangTask97 每日签到分享
var JixiangTask97 = map[string]interface{}{
"id": 97,
"name": "每日签到分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
},
"awards": map[int][][]int{
1: {
{15, 1000},
},
2: {
{15, 2000},
},
3: {
{16, 15},
},
4: {
{15, 2000},
},
5: {
{401, 1},
},
6: {
{15, 3000},
},
7: {
{15, 5000},
{276, 10},
{277, 10},
{280, 10},
{279, 10},
{275, 10},
},
},
"vip_condition": map[int][]int{
1: {0, 2},
2: {3, 6},
3: {7, 10},
4: {11, 13},
5: {14, 16},
},
"vip_awards": map[int]interface{}{
1: 1,
2: 1.5,
3: 2,
4: 2.5,
5: 3,
},
}
//JixiangTask98 关注有礼
var JixiangTask98 = map[string]interface{}{
"id": 98,
"name": "关注有礼",
"category": 1,
"aa": true,
"hlv": "gt0",
"awards": map[int][][]int{
1: {
{PROP_MONEY, 2000},
},
},
"weChat_name": "jixiang_game",
"url": "https://cloudimg2.jixiang.cn/sys/qrcode_jixiang.jpg",
}
//JixiangTask99 评论有礼
var JixiangTask99 = map[string]interface{}{
"id": 99,
"name": "评论有礼",
"category": 1,
"aa": true,
"hlv": "gt0",
"awards": map[int][][]int{
1: {
{16, 30},
},
},
}
//JixiangTask100 添加有礼
var JixiangTask100 = map[string]interface{}{
"id": 100,
"name": "添加有礼",
"category": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
},
"vip_condition": map[int][]int{
1: {0, 2},
2: {3, 6},
3: {7, 10},
4: {11, 13},
5: {14, 16},
},
"vip_awards": map[int]interface{}{
1: 1,
2: 1.5,
3: 2,
4: 2.5,
5: 3,
},
}
//JixiangTask101 有福同享
var JixiangTask101 = map[string]interface{}{
"id": 101,
"name": "有福同享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{16, 10},
},
},
"mail": map[int][][]int{
1: {
{15, 5000},
},
2: {
{15, 5000},
},
},
"time": 60,
}
//JixiangTask105 分享有礼
var JixiangTask105 = map[string]interface{}{
"id": 105,
"name": "分享有礼",
"category": 4,
"one": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{15, 2000},
{16, 10},
},
},
"vip_condition": map[int][]int{
1: {0, 2},
2: {3, 6},
3: {7, 10},
4: {11, 13},
5: {14, 16},
},
"vip_awards": map[int]interface{}{
1: 1,
2: 1.5,
3: 2,
4: 2.5,
5: 3,
},
}
//JixiangTask106 观看广告奖励
var JixiangTask106 = map[string]interface{}{
"id": 106,
"name": "观看广告奖励",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{15, 500},
},
},
"count": 10,
"time": map[int]int{
1: 0,
2: 0,
3: 0,
4: 0,
5: 0,
6: 0,
7: 0,
8: 0,
9: 0,
10: 0,
},
}
//JixiangTask107 幸运礼包
var JixiangTask107 = map[string]interface{}{
"id": 107,
"name": "幸运礼包",
"category": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{16, 50},
{15, 1000},
{401, 2},
},
},
}
//JixiangTask108 明日礼包
var JixiangTask108 = map[string]interface{}{
"id": 108,
"name": "明日礼包",
"category": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{16, 200},
{15, 20000},
{401, 5},
{404, 10},
{276, 10},
{277, 10},
{280, 10},
{279, 10},
{275, 10},
},
},
}
//JixiangTask109 观看广告视频
var JixiangTask109 = map[string]interface{}{
"id": 109,
"name": "观看广告视频",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{15, 500},
},
},
}
//JixiangTask110 救济金分享
var JixiangTask110 = map[string]interface{}{
"id": 110,
"name": "救济金分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {{15, 888}},
2: {{15, 888}},
3: {{15, 2000}},
4: {{15, 3000}},
5: {{15, 4000}},
6: {{15, 5000}},
7: {{15, 8000}},
8: {{15, 10000}},
9: {{15, 15000}},
10: {{15, 20000}},
11: {{15, 30000}},
12: {{15, 40000}},
13: {{15, 50000}},
14: {{15, 60000}},
15: {{15, 70000}},
16: {{15, 80000}},
},
}