From 9529cb21f024e1dd1310aa6cdbfd33d9ea6b3f0b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 30 Aug 2023 19:29:33 +0800 Subject: [PATCH] 1 --- doc/OutAppPlanet.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/OutAppPlanet.py diff --git a/doc/OutAppPlanet.py b/doc/OutAppPlanet.py new file mode 100644 index 00000000..23b2c9a8 --- /dev/null +++ b/doc/OutAppPlanet.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- + +import _common + +class OutAppPlanet(object): + + def __init__(self): + self.apis = [ + { + 'name': 'buy', + 'desc': '购买星球', + 'group': 'OutAppPlanet', + 'url': 'webapp/index.php?c=OutAppPlanet&a=buy', + 'params': [ + ['net_id', '', '链id'], + ['num', 0, '数量'], + ], + 'response': [ + _common.RspHead(), + ['trans_id', '', '事务id'], + ['!params', [''], '合约参数列表'], + ] + }, + ]