Commit 207464a0 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

修改get_api_url实现方式,支持骨科,电商,spd3.0 spd2.0服务器地址设置

parent ae29e42a
......@@ -61,9 +61,18 @@ class commonFuc(object):
url = 'http://pre-m.meitun.com'
elif env == 'sita':
url = 'http://sita-m.meitun.com'
else:
elif env=="spd3": #spd3.0
# url = 'http://sit-m.meitun.com'
url = 'http://spddev.cmic.com.cn'
elif env=="spd2": #spd2.0
url=""
elif env=="orthopedics_department":#骨科
url = ""
elif env=="business": #电商
url=""
else:
url = 'http://spddev.cmic.com.cn'
return url
def get_token(self, module, enc_user_id="enc_user_id"):
......
Supports Markdown
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