-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkits.py
38 lines (26 loc) · 810 Bytes
/
kits.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
# @Time : 2021/11/2 4:50 下午
# @Author : ShaHeTop-Almighty-ares
# @Email : [email protected]
# @File : kits.py
# @Software: PyCharm
from all_reference import *
class OrderServiceCommonKit(BaseKit, BaseDataBases):
"""订单服务通用套件"""
env = "uat"
order_url_dict = {
'def': 'https://uat-order.xxxxxx.cn',
'uat': 'https://uat-order.xxxxxx.cn',
'pre': 'https://pre-order.xxxxxx.cn',
'prod': 'https://order.xxxxxx.cn'
}
base_order_url = order_url_dict.get(env, 'def')
def func_1(self):
"""1"""
def func_2(self):
"""1"""
def func_3(self):
"""1"""
class SubmoduleKit(OrderServiceCommonKit):
"""子模块套件"""
addOrder = '/trade_order/v1/saleOrder/addOrder'