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
b32cf75d
Commit
b32cf75d
authored
Nov 24, 2023
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cfg.useHttpsDomains = false;
parent
6f498cdd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
CostFileUtil.java
...in/java/com/blt/other/module/cost/utils/CostFileUtil.java
+2
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/utils/CostFileUtil.java
View file @
b32cf75d
...
@@ -134,6 +134,7 @@ public class CostFileUtil {
...
@@ -134,6 +134,7 @@ public class CostFileUtil {
// Configuration cfg = new Configuration(Zone.zone2());
// Configuration cfg = new Configuration(Zone.zone2());
Configuration
cfg
=
new
Configuration
(
Region
.
region2
());
Configuration
cfg
=
new
Configuration
(
Region
.
region2
());
//2、其他参数参考类注释
//2、其他参数参考类注释
cfg
.
useHttpsDomains
=
false
;
cfg
.
proxy
=
new
ProxyConfiguration
(
"10.0.8.190"
,
9998
);
cfg
.
proxy
=
new
ProxyConfiguration
(
"10.0.8.190"
,
9998
);
// cfg.proxy = new ProxyConfiguration("106.55.104.91", 9998);
// cfg.proxy = new ProxyConfiguration("106.55.104.91", 9998);
UploadManager
uploadManager
=
new
UploadManager
(
cfg
);
UploadManager
uploadManager
=
new
UploadManager
(
cfg
);
...
@@ -153,7 +154,7 @@ public class CostFileUtil {
...
@@ -153,7 +154,7 @@ public class CostFileUtil {
return
putRet
.
key
;
return
putRet
.
key
;
}
catch
(
QiniuException
ex
)
{
}
catch
(
QiniuException
ex
)
{
Response
r
=
ex
.
response
;
Response
r
=
ex
.
response
;
System
.
err
.
println
(
r
.
toString
());
System
.
err
.
println
(
ex
.
getCause
().
getMessage
());
try
{
try
{
System
.
err
.
println
(
r
.
bodyString
());
System
.
err
.
println
(
r
.
bodyString
());
}
catch
(
QiniuException
ex2
)
{
}
catch
(
QiniuException
ex2
)
{
...
...
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