Commit 0637847e authored by mayinghao's avatar mayinghao

变更接口

parent faf227c7
......@@ -2,7 +2,8 @@ import oss2
import yaml
import os
config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'config.yaml')
config_path = './config.yaml'
print(config_path)
with open(config_path, 'r', encoding='utf-8') as f:
config = yaml.safe_load(f)
version = config.get('version', 'release')
......@@ -39,7 +40,7 @@ else:
login_url = 'https://www.emku.laidecloud.com/api/v1/pc/userLoginByToken.ajax'
# order信息地址
order_info_url = "https://www.emku.laidecloud.com/api/v1productOrder/experimentOrderList.ajax"
order_info_url = "https://www.emku.laidecloud.com/api/v1/productOrder/experimentOrderList.ajax"
# order detail
order_detail_url = "https://www.emku.laidecloud.com/api/v1/productOrder/uploadorderdetail.ajax"
product_manager_url = "https://www.emku.laidecloud.com/api/v1/goods/goods_list.ajax"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment