This commit is contained in:
aozhiwei 2024-08-16 11:57:32 +08:00
parent 7a3852e677
commit 25b80fb51f
2 changed files with 13 additions and 6 deletions

View File

@ -5,7 +5,10 @@
* @apiVersion 0.0.1
* @apiSuccessExample {json} Success-Response:
* 所有的协议都可能携带award和property_chgaward用来显示获得的东西,propery_chg用来更新本地数据
*
* 公共错误码
* errcode=1001 session_id已过期(客户端需回到游戏主界面)
* errcode=1006 该接口已升级为S版(客户端需要转到sapi)
* errcode=1008 该接口功能已关闭(admin后台上配置为功能关闭客户端需刷新功能开关)
*
*
*/
@ -49,7 +52,6 @@
* 删除 c=Currency
* 删除 c=PayMethod
* 删除 c=OutAppPlanet
* 删除 c=Shop
* 删除 c=BlockChain&a=getTransactionList
* 删除 c=BlockChain&a=getTransactionInfo
* 删除 c=BlockChain&a=reportResult

View File

@ -1843,6 +1843,14 @@ class ChainActivity(object):
['date', '', '事件发生时间'],
]
class RechargeCurrency(object):
def __init__(self):
self.fields = [
['name', '', '货币名'],
['address', '', '货币地址'],
]
class RechargeGoods(object):
def __init__(self):
@ -1853,10 +1861,7 @@ class RechargeGoods(object):
['first_present_diamond', 0, '首冲赠送钻石'],
['is_first_recharge', 0, '是否第一次购买该商品'],
['max_buy_times', 0, '充值次数上限'],
['currency_list', [[
['name', '', '货币名'],
['address', '', '货币地址'],
]], '货币列表'],
['!currency_list', [RechargeCurrency()], '货币列表'],
]
class RechargeHistory(object):