Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李俊
2022-09-20 16:13:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9d5495f23e67cab3edd1d2b9f9bb3ebec570ea6c
9d5495f2
1 parent
114678e4
内网迁移环境代码调整
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
src/main/java/com/erry/iclear/dateInterface/api/FedexDataInterface.java
src/main/java/com/erry/iclear/dateInterface/service/FedexService.java
src/main/resources/application-test.yml
src/main/java/com/erry/iclear/dateInterface/api/FedexDataInterface.java
View file @
9d5495f
...
...
@@ -66,8 +66,8 @@ public class FedexDataInterface {
String
iclearCSubmitUrl
;
@ApiOperation
(
value
=
"
BASF
运单数据校验接口"
,
httpMethod
=
"POST"
,
notes
=
"ex: http://192.168.1.75:8080/fedex/checkBASFMawbFedex"
)
@PostMapping
(
"/check
BASFMawbFedex
"
)
@ApiOperation
(
value
=
"
C类
运单数据校验接口"
,
httpMethod
=
"POST"
,
notes
=
"ex: http://192.168.1.75:8080/fedex/checkBASFMawbFedex"
)
@PostMapping
(
"/check
MawbFedexC
"
)
@ResponseBody
public
ResultRS
checkBASFMawbFedex
(
HttpServletRequest
request
,
@RequestBody
Fedexc
fedexc
)
throws
HttpProcessException
{
...
...
src/main/java/com/erry/iclear/dateInterface/service/FedexService.java
View file @
9d5495f
...
...
@@ -161,8 +161,7 @@ public class FedexService {
headerMap
.
put
(
"Content-Type"
,
"application/json"
);
String
json
=
HttpUtils
.
doPost
(
this
.
iclearCheckUrl
,
objJson
,
headerMap
);
log
.
info
(
"iclearCheckUrl:"
+
json
);
IClearCheckResponseResult
iclearCheckResponseResult
=
JsonToJava
.
parseJson
(
json
,
IClearCheckResponseResult
.
class
);
result
.
setSuccess
(
iclearCheckResponseResult
.
getSuccess
());
...
...
src/main/resources/application-test.yml
View file @
9d5495f
...
...
@@ -23,7 +23,7 @@ task:
#推送地址
api
:
base-address
:
https://
iclearexp
uat.fedex.com.cn/Exp
base-address
:
https://
declaration
uat.fedex.com.cn/Exp
token-info
:
#获取token账号
username
:
iclear_external_ctm
...
...
Please
register
or
login
to post a comment