97 lines
2.8 KiB
PHP
97 lines
2.8 KiB
PHP
<?php
|
|
|
|
class HangDoc
|
|
{
|
|
|
|
/**
|
|
* @api {GET} /webapp/index.php?c=Hang&a=getTime 获取抽奖信息-新
|
|
* @apiPermission login
|
|
* @apiGroup Hang
|
|
* @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=Hang&a=getRedInfo 获取红包信息
|
|
* @apiPermission login
|
|
* @apiGroup Hang
|
|
* @apiUse CommonParam
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* HTTP/1.1 200 OK
|
|
* {
|
|
* "errcode": 0, //错误码
|
|
* "errmsg": "", //错误描述
|
|
* }
|
|
*/
|
|
|
|
/**
|
|
* @api {GET} /webapp/index.php?c=Hang&a=getOnlineReward 获取抽奖信息-新
|
|
* @apiPermission login
|
|
* @apiGroup Hang
|
|
* @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=Hang&a=getHangDoubleReward 获取抽奖信息-新
|
|
* @apiPermission login
|
|
* @apiGroup Hang
|
|
* @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, //状态
|
|
* }
|
|
* ]
|
|
* }
|
|
*/
|
|
}
|