game2005api/doc/NRR.php
2021-10-15 15:57:01 +08:00

293 lines
8.8 KiB
PHP

<?php
class NRRDoc
{
/**
* @api {GET} /webapp/index.php?c=NRR&a=getGunInfo 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=test 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=ResetRRVIP 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=buyRRVIP 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=getRRInfo 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=getAward 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=getAllReward 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=lvUp 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=getCurSeasonCfg 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=getRewardArr 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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=NRR&a=getRewardByStr 获取抽奖信息-新
* @apiPermission login
* @apiGroup NRR
* @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, //状态
* }
* ]
* }
*/
}