Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
wangweidong
patzn-cloud-service-hmhj
Commits
b2af0a9d
Commit
b2af0a9d
authored
Aug 22, 2022
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送提示
parent
b155df04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
OkHttpUtils.java
...com/patzn/cloud/service/lims/hmhj/common/OkHttpUtils.java
+4
-3
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/common/OkHttpUtils.java
View file @
b2af0a9d
package
com
.
patzn
.
cloud
.
service
.
lims
.
hmhj
.
common
;
package
com
.
patzn
.
cloud
.
service
.
lims
.
hmhj
.
common
;
import
com.patzn.cloud.commons.api.RestAssert
;
import
com.patzn.cloud.commons.constant.CommonConstants
;
import
com.patzn.cloud.commons.constant.CommonConstants
;
import
com.patzn.cloud.service.lims.hmhj.common.consts.HttpConst
;
import
com.patzn.cloud.service.lims.hmhj.common.consts.HttpConst
;
import
okhttp3.*
;
import
okhttp3.*
;
...
@@ -50,9 +51,9 @@ public class OkHttpUtils {
...
@@ -50,9 +51,9 @@ public class OkHttpUtils {
logger
.
error
(
"GET====ERP====RESULT==== :{}"
,
result
);
logger
.
error
(
"GET====ERP====RESULT==== :{}"
,
result
);
return
result
;
return
result
;
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
logger
.
error
(
"SEND====DATA====EXCEPTION====
:结果响应异常!"
);
logger
.
error
(
"SEND====DATA====EXCEPTION====
: {}"
,
e
.
getMessage
()
);
logger
.
error
(
e
.
getMessage
());
logger
.
error
(
e
.
getMessage
()
,
e
.
getCause
()
);
e
.
printStackTrace
(
);
RestAssert
.
fail
(
"发送异常,请检查网络是否畅通!"
);
}
}
return
null
;
return
null
;
}
}
...
...
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