From a1c6c2360c64176e9c707919a62cd4a44f88734a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 15 Oct 2021 19:37:50 +0800 Subject: [PATCH] 1 --- doc/Activity.php | 149 +++++++++++++++++++++++++++++++++++++++++++++++ doc/Equip.php | 22 ++++--- doc/FesActivity | 16 +---- doc/Hang.php | 15 +---- doc/NBag.php | 73 +++++++++++++++-------- doc/NHero.php | 21 ++++--- doc/Pay.php | 33 +++++++++++ doc/Role.php | 86 ++++++++++++++++++++++----- doc/Sign.php | 27 +++++---- 9 files changed, 343 insertions(+), 99 deletions(-) diff --git a/doc/Activity.php b/doc/Activity.php index a7fad2d..067e97c 100644 --- a/doc/Activity.php +++ b/doc/Activity.php @@ -107,5 +107,154 @@ class ActivityDoc * } */ + /** + * @api {GET} /webapp/index.php?c=Activity&a=doubleLuckDraw 获取抽奖信息-新 + * @apiPermission login + * @apiGroup Activity + * @apiUse CommonParam + * @apiSuccessExample {json} Success-Response: + * HTTP/1.1 200 OK + * { + * "errcode": 0, //错误码 + * "errmsg": "", //错误描述 + * "draw_uuid": "", //抽奖唯一id + * "free_times": 0, //免费次数 + * "video_times": 0, //看视频次数 + * "item_list": //道具列表 + * [ + * { + * "item_id": 0, //道具id + * "item_num": 0, //道具数量 + * "quality": 0, //道具品质 + * "time": 0, //抽取时间 + * "status": 0, //状态 + * } + * ] + * } + */ + + /** + * @api {GET} /webapp/index.php?c=Activity&a=lotteryReward 获取抽奖信息-新 + * @apiPermission login + * @apiGroup Activity + * @apiUse CommonParam + * @apiSuccessExample {json} Success-Response: + * HTTP/1.1 200 OK + * { + * "errcode": 0, //错误码 + * "errmsg": "", //错误描述 + * "draw_uuid": "", //抽奖唯一id + * "free_times": 0, //免费次数 + * "video_times": 0, //看视频次数 + * "item_list": //道具列表 + * [ + * { + * "item_id": 0, //道具id + * "item_num": 0, //道具数量 + * "quality": 0, //道具品质 + * "time": 0, //抽取时间 + * "status": 0, //状态 + * } + * ] + * } + */ + + /** + * @api {GET} /webapp/index.php?c=Activity&a=getBoxOrder 获取抽奖信息-新 + * @apiPermission login + * @apiGroup Activity + * @apiUse CommonParam + * @apiSuccessExample {json} Success-Response: + * HTTP/1.1 200 OK + * { + * "errcode": 0, //错误码 + * "errmsg": "", //错误描述 + * "draw_uuid": "", //抽奖唯一id + * "free_times": 0, //免费次数 + * "video_times": 0, //看视频次数 + * "item_list": //道具列表 + * [ + * { + * "item_id": 0, //道具id + * "item_num": 0, //道具数量 + * "quality": 0, //道具品质 + * "time": 0, //抽取时间 + * "status": 0, //状态 + * } + * ] + * } + */ + + /** + * @api {GET} /webapp/index.php?c=Activity&a=getOrderReward 获取抽奖信息-新 + * @apiPermission login + * @apiGroup Activity + * @apiUse CommonParam + * @apiSuccessExample {json} Success-Response: + * HTTP/1.1 200 OK + * { + * "errcode": 0, //错误码 + * "errmsg": "", //错误描述 + * "draw_uuid": "", //抽奖唯一id + * "free_times": 0, //免费次数 + * "video_times": 0, //看视频次数 + * "item_list": //道具列表 + * [ + * { + * "item_id": 0, //道具id + * "item_num": 0, //道具数量 + * "quality": 0, //道具品质 + * "time": 0, //抽取时间 + * "status": 0, //状态 + * } + * ] + * } + */ + + /** + * @api {GET} /webapp/index.php?c=Activity&a=drawBoxInfo 获取抽奖信息-新 + * @apiPermission login + * @apiGroup Activity + * @apiUse CommonParam + * @apiSuccessExample {json} Success-Response: + * HTTP/1.1 200 OK + * { + * "errcode": 0, //错误码 + * "errmsg": "", //错误描述 + * "info_list": + * [ + * { + * "id": "1", + * "times": "1" + * } + * ] + * } + */ + + /** + * @api {GET} /webapp/index.php?c=Activity&a=drawBoxReward 获取抽奖信息-新 + * @apiPermission login + * @apiGroup Activity + * @apiUse CommonParam + * @apiSuccessExample {json} Success-Response: + * HTTP/1.1 200 OK + * { + * "errcode": 0, //错误码 + * "errmsg": "", //错误描述 + * "draw_uuid": "", //抽奖唯一id + * "free_times": 0, //免费次数 + * "video_times": 0, //看视频次数 + * "item_list": //道具列表 + * [ + * { + * "item_id": 0, //道具id + * "item_num": 0, //道具数量 + * "quality": 0, //道具品质 + * "time": 0, //抽取时间 + * "status": 0, //状态 + * } + * ] + * } + */ } diff --git a/doc/Equip.php b/doc/Equip.php index d2da700..a56fcf0 100644 --- a/doc/Equip.php +++ b/doc/Equip.php @@ -4,7 +4,7 @@ class EquipDoc { /** - * @api {GET} /webapp/index.php?c=Equip&a=equipInfo 获取抽奖信息-新 + * @api {GET} /webapp/index.php?c=Equip&a=equipInfo 获取装备信息 * @apiPermission login * @apiGroup Equip * @apiUse CommonParam @@ -13,18 +13,16 @@ class EquipDoc * { * "errcode": 0, //错误码 * "errmsg": "", //错误描述 - * "draw_uuid": "", //抽奖唯一id - * "free_times": 0, //免费次数 - * "video_times": 0, //看视频次数 - * "item_list": //道具列表 + * "equip_list": * [ - * { - * "item_id": 0, //道具id - * "item_num": 0, //道具数量 - * "quality": 0, //道具品质 - * "time": 0, //抽取时间 - * "status": 0, //状态 - * } + * { + * "id": 0, + * "lv": 0, + * "active_time": 0, + * "using_id": 0, + * "exp": 0, + * "time_flag": 0 + * } * ] * } */ diff --git a/doc/FesActivity b/doc/FesActivity index 00054b1..6790fd0 100644 --- a/doc/FesActivity +++ b/doc/FesActivity @@ -13,19 +13,9 @@ class FesActivityDoc * { * "errcode": 0, //错误码 * "errmsg": "", //错误描述 - * "draw_uuid": "", //抽奖唯一id - * "free_times": 0, //免费次数 - * "video_times": 0, //看视频次数 - * "item_list": //道具列表 - * [ - * { - * "item_id": 0, //道具id - * "item_num": 0, //道具数量 - * "quality": 0, //道具品质 - * "time": 0, //抽取时间 - * "status": 0, //状态 - * } - * ] + * "isopen": 0, + * "id": 0, + * "info_list": [] * } */ diff --git a/doc/Hang.php b/doc/Hang.php index 3bee4e1..30519ea 100644 --- a/doc/Hang.php +++ b/doc/Hang.php @@ -30,7 +30,7 @@ class HangDoc */ /** - * @api {GET} /webapp/index.php?c=Hang&a=getRedInfo 获取抽奖信息-新 + * @api {GET} /webapp/index.php?c=Hang&a=getRedInfo 获取红包信息 * @apiPermission login * @apiGroup Hang * @apiUse CommonParam @@ -39,19 +39,6 @@ class HangDoc * { * "errcode": 0, //错误码 * "errmsg": "", //错误描述 - * "draw_uuid": "", //抽奖唯一id - * "free_times": 0, //免费次数 - * "video_times": 0, //看视频次数 - * "item_list": //道具列表 - * [ - * { - * "item_id": 0, //道具id - * "item_num": 0, //道具数量 - * "quality": 0, //道具品质 - * "time": 0, //抽取时间 - * "status": 0, //状态 - * } - * ] * } */ diff --git a/doc/NBag.php b/doc/NBag.php index 52e449a..86642e3 100644 --- a/doc/NBag.php +++ b/doc/NBag.php @@ -1,12 +1,12 @@