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

113 lines
3.1 KiB
PHP

<?php
class SignDoc
{
/**
* @api {GET} /webapp/index.php?c=Sign&a=signInfo 获取签到信息
* @apiPermission login
* @apiGroup Sign
* @apiUse CommonParam
* @apiSuccessExample {json} Success-Response:
* HTTP/1.1 200 OK
* {
* "errcode": 0, //错误码
* "errmsg": "", //错误描述
* "sign_days": "1",
* "sign_list":
* [
* {
* "sign_id": "1",
* "signable": "0"
* }
* ],
* "item_list":
* [
* {
* "item_id": 23003,
* "item_num": 1,
* "time": 0
* }
* ]
* }
*/
/**
* @api {GET} /webapp/index.php?c=Sign&a=signReward 获取抽奖信息-新
* @apiPermission login
* @apiGroup Sign
* @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=Sign&a=signDoubleReward 获取抽奖信息-新
* @apiPermission login
* @apiGroup Sign
* @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=Sign&a=getSignOrder 获取抽奖信息-新
* @apiPermission login
* @apiGroup Sign
* @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, //状态
* }
* ]
* }
*/
}