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

248 lines
7.3 KiB
PHP

<?php
class PayDoc
{
/**
* @api {GET} /webapp/index.php?c=Pay&a=getVipInfo 获取vip信息
* @apiPermission login
* @apiGroup Pay
* @apiUse CommonParam
* @apiSuccessExample {json} Success-Response:
* HTTP/1.1 200 OK
* {
* "errcode": 0, //错误码
* "errmsg": "", //错误描述
* "vip_level": 0,
* "vip_icon": "vip0",
* "exp": 1,
* "sum": 1,
* "vip_list":
* [
* {
* "vip_id": 1,
* "require": 5000,
* "vip_color": "#FFC661",
* "vip_status": 0,
* "vip_item_list": [],
* "vip_today_status": 0,
* "vip_today_item_list": [],
* "vip_tequan_list":
* [
* ["0", "8", "1"],
* ]
* }
* ]
* }
*/
/**
* @api {GET} /webapp/index.php?c=Pay&a=rechargeRmb 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=rechargeBuy 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=unlockPassCard 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=recAcitivityInfo 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=recAcitivityReward 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=shareDiscount 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=flushDiscountShop 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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=Pay&a=addmailReward 获取抽奖信息-新
* @apiPermission login
* @apiGroup Pay
* @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, //状态
* }
* ]
* }
*/
}