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-10 21:08:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9b715928f55062ced895c3c6862e2027115411bf
9b715928
1 parent
0ce36c31
内网迁移环境代码调整
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
5 deletions
pom.xml
sql/BASF校验接口.sql
src/main/java/com/erry/iclear/dateInterface/api/FedexDataInterface.java
src/main/java/com/erry/iclear/dateInterface/api/HsCodeInterface.java
src/main/java/com/erry/iclear/dateInterface/controller/IClearExportInterface.java
pom.xml
View file @
9b71592
...
...
@@ -11,7 +11,7 @@
<groupId>
com.erry.iclear
</groupId>
<artifactId>
iclear-api
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<packaging>
j
ar
</packaging>
<packaging>
w
ar
</packaging>
<name>
iClear-api
</name>
<description>
iClear-api
</description>
<properties>
...
...
@@ -116,6 +116,10 @@
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-validation
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-tomcat
</artifactId>
<scope>
provided
</scope>
</dependency>
...
...
@@ -125,7 +129,6 @@
<optional>
true
</optional>
<scope>
true
</scope>
</dependency>
</dependencies>
<profiles>
...
...
sql/BASF校验接口.sql
View file @
9b71592
CREATE
TABLE
[
dbo
].[
T_ICLEAR_API_CHECK_LOG
](
[
ID
]
[
bigint
]
IDENTITY
(
1
,
1
)
NOT
NULL
,
[
request_appid
]
[
varchar
](
200
)
NULL
,
[
request_appkey
]
[
varchar
](
200
)
NULL
,
[
request_token
]
[
varchar
](
200
)
NULL
,
[
consignment_code
]
[
varchar
](
200
)
NULL
,
[
request_text
]
[
text
]
NULL
,
[
response_text
]
[
text
]
NULL
,
[
request_ip
]
[
varchar
](
200
)
NULL
,
[
create_time
]
[
datetime
]
NULL
,
[
success
]
[
int
]
NULL
,
[
code
]
[
varchar
](
200
)
NULL
,
PRIMARY
KEY
CLUSTERED
(
[
ID
]
ASC
)
WITH
(
PAD_INDEX
=
OFF
,
STATISTICS_NORECOMPUTE
=
OFF
,
IGNORE_DUP_KEY
=
OFF
,
ALLOW_ROW_LOCKS
=
ON
,
ALLOW_PAGE_LOCKS
=
ON
,
OPTIMIZE_FOR_SEQUENTIAL_KEY
=
OFF
)
ON
[
PRIMARY
]
)
ON
[
PRIMARY
]
TEXTIMAGE_ON
[
PRIMARY
]
GO
...
...
src/main/java/com/erry/iclear/dateInterface/api/FedexDataInterface.java
View file @
9b71592
...
...
@@ -108,7 +108,11 @@ public class FedexDataInterface {
sw
.
start
(
"checkFedexMawb"
);
String
msg
=
result
.
getMsg
();
String
iclearCheckMsg
=
fedexService
.
checkFedexMawb
(
saveMawbFedexResult
).
getMsg
();
result
.
setMsg
(
msg
+
";"
+
iclearCheckMsg
);
if
(
StringUtil
.
isEmpty
(
msg
)
&&
StringUtil
.
isEmpty
(
iclearCheckMsg
)){
result
.
setSuccess
(
Boolean
.
TRUE
);
}
else
{
result
.
setMsg
(
msg
+
";"
+
iclearCheckMsg
);
}
sw
.
stop
();
log
.
info
(
sw
.
prettyPrint
());
...
...
src/main/java/com/erry/iclear/dateInterface/api/HsCodeInterface.java
View file @
9b71592
...
...
@@ -74,4 +74,4 @@ public class HsCodeInterface {
iClearApiHsCodeLogService
.
saveIClearApiHsCodeLog
(
iclearApiHsCodeLog
);
}
}
}
\ No newline at end of file
}
...
...
src/main/java/com/erry/iclear/dateInterface/controller/IClearExportInterface.java
View file @
9b71592
...
...
@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.RestController;
/**
* @author Administrator
*
*/
@RestController
@RequestMapping
(
"/system"
)
...
...
@@ -46,7 +47,7 @@ public class IClearExportInterface {
@GetMapping
(
"/refreshSendMawbe"
)
public
String
refreshSendMawbe
()
{
try
{
return
"Success"
;
}
catch
(
Exception
e
){
...
...
Please
register
or
login
to post a comment