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', [''], '合约参数列表'], + ] + }, + ]