Commit f9dc4309 by 蒋勇

d

parent c1d50ce8
......@@ -405,7 +405,7 @@ def ChangeABatch(inputdata):
if not res["pic_url"]:
#改成调服务
#c_url = 'http://127.0.0.1:5000/api/createlogo'
c_url = 'http://ailogo-CreatLogo-Serverice/api/createlogo'
c_url = 'http://createlogo-service/api/createlogo'
data1 = requests.post(c_url, json=res).json()
if data1["status"] == 0:
res["pic_url"] = data1["data"]
......@@ -561,7 +561,7 @@ def ReturnLogoInfo(inputdata,curpage,pagesize):
if not r["pic_url"]:
# 改成调服务
#c_url = 'http://127.0.0.1:5000/api/createlogo'
c_url = 'http://ailogo-CreatLogo-Serverice/api/createlogo'
c_url = 'http://createlogo-service/api/createlogo'
data1 = requests.post(c_url, json=r).json()
if data1["status"] == 0:
r["pic_url"] = data1["data"]
......
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