1
This commit is contained in:
parent
01df0f6b56
commit
388487cee2
@ -13,11 +13,12 @@ class Mission(object):
|
|||||||
'url': 'webapp/index.php?c=Mission&a=missionList',
|
'url': 'webapp/index.php?c=Mission&a=missionList',
|
||||||
'params': [
|
'params': [
|
||||||
_common.ReqHead(),
|
_common.ReqHead(),
|
||||||
['type', 0, '任务类型'],
|
['type', 0, '任务类型(!!!注意这里的类型和任务表里的任务不是一回事) 1:每日任务 2:赛季周任务'],
|
||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['!mission_list', [_common.Mission()], '任务列表'],
|
['!mission_list1', [_common.Mission()], '任务列表1'],
|
||||||
|
['!mission_list2', [_common.Mission()], '任务列表2'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -36,4 +37,19 @@ class Mission(object):
|
|||||||
['mission_chg', _common.Mission(), '任务的最新信息(可能为null客户端需要做容错处理)'],
|
['mission_chg', _common.Mission(), '任务的最新信息(可能为null客户端需要做容错处理)'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'name': 'commitAll',
|
||||||
|
'desc': '提交所有任务(全部领取)',
|
||||||
|
'group': 'Mission',
|
||||||
|
'url': 'webapp/index.php?c=Mission&a=commitAll',
|
||||||
|
'params': [
|
||||||
|
_common.ReqHead(),
|
||||||
|
['types', [0], '任务类型数组'],
|
||||||
|
],
|
||||||
|
'response': [
|
||||||
|
_common.RspHead(),
|
||||||
|
['award', _common.Award(), '奖励信息'],
|
||||||
|
['property_chg', _common.PropertyChg(), '属性变更'],
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
@ -44,6 +44,7 @@ class UserInfo(object):
|
|||||||
['head_frame', 0, '头像框id'],
|
['head_frame', 0, '头像框id'],
|
||||||
['level', 0, '等级'],
|
['level', 0, '等级'],
|
||||||
['exp', 0, '经验'],
|
['exp', 0, '经验'],
|
||||||
|
['max_exp', 0, '经验(上限)'],
|
||||||
['gold', 0, '金币'],
|
['gold', 0, '金币'],
|
||||||
['diamond', 0, '钻石'],
|
['diamond', 0, '钻石'],
|
||||||
['hero_id', 0, '当前使用的英雄ID'],
|
['hero_id', 0, '当前使用的英雄ID'],
|
||||||
@ -63,6 +64,7 @@ class UserDetailInfo(object):
|
|||||||
['head_frame', 0, '头像框id'],
|
['head_frame', 0, '头像框id'],
|
||||||
['level', 0, '等级'],
|
['level', 0, '等级'],
|
||||||
['exp', 0, '经验'],
|
['exp', 0, '经验'],
|
||||||
|
['max_exp', 0, '经验(上限)'],
|
||||||
['gold', 0, '金币'],
|
['gold', 0, '金币'],
|
||||||
['diamond', 0, '钻石'],
|
['diamond', 0, '钻石'],
|
||||||
['hero_id', 0, '当前使用的英雄ID'],
|
['hero_id', 0, '当前使用的英雄ID'],
|
||||||
@ -216,6 +218,7 @@ class Mission(object):
|
|||||||
['current', 0, '任务进度-当前'],
|
['current', 0, '任务进度-当前'],
|
||||||
['target', 0, '任务进度-目标'],
|
['target', 0, '任务进度-目标'],
|
||||||
['state', 0, '任务状态 0:可领取 1:已领取 2:未完成(不可领取)'],
|
['state', 0, '任务状态 0:可领取 1:已领取 2:未完成(不可领取)'],
|
||||||
|
['show_progress', 0, '是否显示任务进度'],
|
||||||
]
|
]
|
||||||
|
|
||||||
class SeasonCardGiftPackage(object):
|
class SeasonCardGiftPackage(object):
|
||||||
|
@ -97,6 +97,11 @@ class UserController extends BaseAuthedController {
|
|||||||
|
|
||||||
public function active()
|
public function active()
|
||||||
{
|
{
|
||||||
|
$name = getReqVal('name', '');
|
||||||
|
$nameSign = getReqVal('name_sign', '');
|
||||||
|
$sex = getReqVal('sex', 0);
|
||||||
|
$headId = getReqVal('head_id', 0);
|
||||||
|
$headFrame = getReqVal('head_frame', 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function update()
|
public function update()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user