Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
194f90af
Commit
194f90af
authored
May 08, 2020
by
裴大威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit zipkin
parent
9bbf4f5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bootstrap.yml
pcloud-common-config/src/main/resources.prod/bootstrap.yml
+1
-1
PictureUtil.java
...on/src/main/java/com/pcloud/common/utils/PictureUtil.java
+1
-1
No files found.
pcloud-common-config/src/main/resources.prod/bootstrap.yml
View file @
194f90af
...
...
@@ -34,7 +34,7 @@ spring:
db
:
${spring.application.name}
enabled
:
true
zipkin
:
base-url
:
http://192.168.
1.175
:9399
base-url
:
http://192.168.
8.251
:9399
sender
:
type
:
rabbit
rabbitmq
:
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/PictureUtil.java
View file @
194f90af
...
...
@@ -209,7 +209,7 @@ public class PictureUtil {
header
.
put
(
"Content-Type"
,
"application/json"
);
Map
<
String
,
String
>
param
=
new
HashMap
<>();
param
.
put
(
"htmlCode"
,
html
);
String
postResult
=
HttpKit
.
post
(
"http://192.168.
1.7
:8216/transcode/htm2img/jpg"
,
JSON
.
toJSONString
(
param
));
String
postResult
=
HttpKit
.
post
(
"http://192.168.
8.156
:8216/transcode/htm2img/jpg"
,
JSON
.
toJSONString
(
param
));
Map
map
=
JSONUtils
.
jsonToMap
(
postResult
,
String
.
class
,
String
.
class
);
String
pic
=
(
String
)
map
.
get
(
"data"
);
BufferedImage
bookPicImage
=
ImageIO
.
read
(
new
URL
(
pic
));
...
...
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