diff --git a/doc/AAWheel.py b/doc/AAWheel.py index ace32075..13e09640 100644 --- a/doc/AAWheel.py +++ b/doc/AAWheel.py @@ -212,4 +212,20 @@ class AAWheel(object): ['order_id', '', '订单id'], ] }, + { + 'method': 'GET', + 'desc': '内购商店-查询订单状态', + 'name': '/api/v1/inapp_shop/order/:order_id', + 'group': '!!AAWheel', + 'url': 'https://wheel-test.kingsome.cn/api/v1/inapp_shop/order/:order_id', + 'headers': _common.JwtHeader, + 'is_json_params': True, + 'params': [ + ['order_id', '', '订单id'], + ], + 'response': [ + _common.RspHead(), + ['data', _common.WheelInappOrder(), '订单信息'], + ] + }, ] diff --git a/doc/_common.py b/doc/_common.py index 8cf08f57..58d06f3b 100644 --- a/doc/_common.py +++ b/doc/_common.py @@ -2039,3 +2039,11 @@ class WheelBuff(object): ['buff_id', 0, 'buff配置表id'], ['expires_time', 0, '过期时间(单位秒)'], ] + +class WheelInappOrder(object): + + def __init__(self): + self.fields = [ + ['order_id', '', '订单id'], + ['status', '', '0:等待支付成功 1:支付成功 2:已发货'], + ]