Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
huluobin
bailuntec-cost
Commits
0c4f3a64
Commit
0c4f3a64
authored
Jun 23, 2021
by
yangjinhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI七牛云接口更改
parent
4de57bf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FileController.java
...m/blt/other/module/commons/controller/FileController.java
+1
-1
QNUtils.java
...rc/main/java/com/blt/other/module/cost/utils/QNUtils.java
+1
-1
No files found.
cost-service/src/main/java/com/blt/other/module/commons/controller/FileController.java
View file @
0c4f3a64
...
@@ -41,7 +41,7 @@ public class FileController {
...
@@ -41,7 +41,7 @@ public class FileController {
@LoginIgnore
@LoginIgnore
@ApiOperation
(
"七牛云UiBot上传文件接口"
)
@ApiOperation
(
"七牛云UiBot上传文件接口"
)
@PostMapping
(
"uiBot/uploadXlsx"
)
@PostMapping
(
"
/
uiBot/uploadXlsx"
)
public
CostResult
<
String
>
xUpload
(
MultipartFile
file
)
{
public
CostResult
<
String
>
xUpload
(
MultipartFile
file
)
{
if
(
file
!=
null
)
{
if
(
file
!=
null
)
{
String
url
=
QNUtils
.
upLoad
(
file
);
String
url
=
QNUtils
.
upLoad
(
file
);
...
...
cost-service/src/main/java/com/blt/other/module/cost/utils/QNUtils.java
View file @
0c4f3a64
...
@@ -78,7 +78,7 @@ public class QNUtils {
...
@@ -78,7 +78,7 @@ public class QNUtils {
DefaultPutRet
putRet
=
new
Gson
().
fromJson
(
response
.
bodyString
(),
DefaultPutRet
.
class
);
DefaultPutRet
putRet
=
new
Gson
().
fromJson
(
response
.
bodyString
(),
DefaultPutRet
.
class
);
System
.
out
.
println
(
putRet
.
key
);
System
.
out
.
println
(
putRet
.
key
);
System
.
out
.
println
(
putRet
.
hash
);
System
.
out
.
println
(
putRet
.
hash
);
url
=
BASE_URL
+
putRet
.
key
;
url
=
BASE_URL
+
"/"
+
putRet
.
key
;
}
catch
(
QiniuException
e
)
{
}
catch
(
QiniuException
e
)
{
Response
r
=
e
.
response
;
Response
r
=
e
.
response
;
System
.
err
.
println
(
r
.
toString
());
System
.
err
.
println
(
r
.
toString
());
...
...
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