game2005api/doc/Equip.php
aozhiwei a1c6c2360c 1
2021-10-15 19:37:50 +08:00

213 lines
6.3 KiB
PHP

<?php
class EquipDoc
{
/**
* @api {GET} /webapp/index.php?c=Equip&a=equipInfo 获取装备信息
* @apiPermission login
* @apiGroup Equip
* @apiUse CommonParam
* @apiSuccessExample {json} Success-Response:
* HTTP/1.1 200 OK
* {
* "errcode": 0, //错误码
* "errmsg": "", //错误描述
* "equip_list":
* [
* {
* "id": 0,
* "lv": 0,
* "active_time": 0,
* "using_id": 0,
* "exp": 0,
* "time_flag": 0
* }
* ]
* }
*/
/**
* @api {GET} /webapp/index.php?c=Equip&a=speedUpTime 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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=Equip&a=exchangeNewEquip 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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=Equip&a=shengjiEquip 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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=Equip&a=jinjieEquip 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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=Equip&a=unlockEquip 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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=Equip&a=updateWeizhuang 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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=Equip&a=deleteItem 获取抽奖信息-新
* @apiPermission login
* @apiGroup Equip
* @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, //状态
* }
* ]
* }
*/
}