76 lines
1.8 KiB
Python
76 lines
1.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class Pay(object):
|
|
|
|
def __init__(self):
|
|
self.apis_ = [
|
|
{
|
|
'desc': 'getPayInfo',
|
|
'group': 'Pay',
|
|
'url': 'webapp/index.php?c=Pay&a=getPayInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getVipInfo',
|
|
'group': 'Pay',
|
|
'url': 'webapp/index.php?c=Pay&a=getVipInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getVipReward',
|
|
'group': 'Pay',
|
|
'url': 'webapp/index.php?c=Pay&a=getVipReward',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'buyItem',
|
|
'group': 'Pay',
|
|
'url': 'webapp/index.php?c=Pay&a=buyItem',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'getOrderInfo',
|
|
'group': 'Pay',
|
|
'url': 'webapp/index.php?c=Pay&a=getOrderInfo',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
{
|
|
'desc': 'addADtimes',
|
|
'group': 'Pay',
|
|
'url': 'webapp/index.php?c=Pay&a=addADtimes',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|