Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ocrCloudPlatForm
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ocr-cloud-platform
ocrCloudPlatForm
Commits
e3208b5f
Commit
e3208b5f
authored
Jan 24, 2024
by
黄明步
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
db866c53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/com/gxmailu/ocrCloudPlatform/controller/AppAbilityRecordAllController.java
+1
-1
src/main/java/com/gxmailu/ocrCloudPlatform/service/impl/RetransmissionService.java
+3
-3
No files found.
src/main/java/com/gxmailu/ocrCloudPlatform/controller/AppAbilityRecordAllController.java
View file @
e3208b5f
...
...
@@ -54,7 +54,7 @@ public class AppAbilityRecordAllController {
String
newYearMonthDay
=
yearMonthDay
;
if
(
StrUtil
.
isNotBlank
(
yearMonthDay
)){
int
count
=
yearMonthDay
.
split
(
"-"
).
length
;
switch
(
count
){
switch
(
count
)
{
case
1
:
DateTime
year
=
DateUtil
.
parse
(
yearMonthDay
,
"yyyy"
);
yearMonthDay
=
DateUtil
.
beginOfYear
(
year
).
toString
();
...
...
src/main/java/com/gxmailu/ocrCloudPlatform/service/impl/RetransmissionService.java
View file @
e3208b5f
...
...
@@ -197,7 +197,7 @@ public class RetransmissionService {
String
ocrApi
=
"http://"
+
ocrServerAddress
.
getIp
()
+
":"
+
ocrServerAddress
.
getOcrPort
();
try
{
res
=
HttpRequest
.
post
(
ocrApi
+
"/ofs/api/sync/v1/
1001"
)
res
=
HttpRequest
.
post
(
ocrApi
+
"/ofs/api/sync/v1/
"
+
code
)
.
headerMap
(
getHeaderMap
(
request
),
true
)
.
form
(
paramMap
)
.
setConnectionTimeout
(
10
*
1000
)
...
...
@@ -308,7 +308,7 @@ public class RetransmissionService {
String
ocrApi
=
"http://"
+
ocrServerAddress
.
getIp
()
+
":"
+
ocrServerAddress
.
getOcrPort
();
try
{
res
=
HttpRequest
.
post
(
ocrApi
+
"/ofs/api/sync/v2/
1001"
)
res
=
HttpRequest
.
post
(
ocrApi
+
"/ofs/api/sync/v2/
"
+
code
)
.
headerMap
(
getHeaderMap
(
request
),
true
)
.
form
(
paramMap
)
.
setConnectionTimeout
(
10
*
1000
)
...
...
@@ -599,7 +599,7 @@ public class RetransmissionService {
String
ocrApi
=
"http://"
+
ocrServerAddress
.
getIp
()
+
":"
+
ocrServerAddress
.
getOcrPort
();
try
{
res
=
HttpRequest
.
post
(
ocrApi
+
"/ofs/api/sync/v2/"
+
code
)
res
=
HttpRequest
.
post
(
ocrApi
+
"/ofs/api/sync/v2/
ft/
"
+
code
)
.
headerMap
(
getHeaderMap
(
request
),
true
)
.
form
(
paramMap
)
.
setConnectionTimeout
(
10
*
1000
)
...
...
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