Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
石磊
/
cihai
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bd61a49b
authored
Dec 07, 2017
by
徐甲彬
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新
1 parent
6d444bb4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
serverside/cihai-core/src/main/java/com/dookay/cihai/core/aip/AipUtils.java
serverside/cihai-core/src/main/java/com/dookay/cihai/core/aip/AipUtils.java
View file @
bd61a49
...
@@ -54,9 +54,9 @@ public class AipUtils {
...
@@ -54,9 +54,9 @@ public class AipUtils {
* @author luxor
* @author luxor
* @date 2017/12/7
* @date 2017/12/7
*/
*/
public
static
String
fixImage
(
String
imageBase64
){
public
static
String
fixImage
(
String
imageBase64
){
return
imageBase64
.
replace
(
"data:image/png;base64,"
,
""
)
return
imageBase64
.
replace
(
"data:image/png;base64,"
,
""
)
.
replace
(
"data:image/jgp;base64,"
,
""
)
.
replace
(
"data:image/jpg;base64,"
,
""
)
.
replace
(
"data:image/jpg;base64,"
,
""
)
.
replace
(
"data:image/jpeg;base64,"
,
""
);
.
replace
(
"data:image/jpeg;base64,"
,
""
);
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment