Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
f9dc4309
Commit
f9dc4309
authored
May 10, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
c1d50ce8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ailogo/LogoManage.py
+2
-2
No files found.
ailogo/LogoManage.py
View file @
f9dc4309
...
...
@@ -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-Server
ice/api/createlogo'
c_url
=
'http://
createlogo-serv
ice/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-Server
ice/api/createlogo'
c_url
=
'http://
createlogo-serv
ice/api/createlogo'
data1
=
requests
.
post
(
c_url
,
json
=
r
)
.
json
()
if
data1
[
"status"
]
==
0
:
r
[
"pic_url"
]
=
data1
[
"data"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment