Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
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
吴学德
gdtel-gztel-school-center
Commits
e921634d
Commit
e921634d
authored
Jun 08, 2020
by
张宸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
de33ed16
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
enclosure/images/pkg/1/adv_img.jpg
+0
-0
enclosure/images/pkg/1/logo.png
+0
-0
old-user/src/main/java/com/winsun/controller/ChooseController.java
+3
-0
task/src/main/java/com/winsun/TimingTask/RhZhiNenTask.java
+4
-3
No files found.
enclosure/images/pkg/1/adv_img.jpg
View file @
e921634d
727 KB
|
W:
|
H:
115 KB
|
W:
|
H:
2-up
Swipe
Onion skin
enclosure/images/pkg/1/logo.png
View file @
e921634d
9.43 KB
|
W:
|
H:
291 KB
|
W:
|
H:
2-up
Swipe
Onion skin
old-user/src/main/java/com/winsun/controller/ChooseController.java
View file @
e921634d
...
...
@@ -76,6 +76,9 @@ public class ChooseController {
String
[]
split
=
order
.
getNetNumber
().
split
(
"@"
);
order
.
setNetNumber
(
order
.
getNetNumber
().
substring
(
0
,
1
)+
"****"
+
split
[
1
]);
}
if
(
StringUtils
.
isNotBlank
(
order
.
getContactNumber
())&&
order
.
getContactNumber
().
length
()==
11
){
order
.
setContactNumber
(
order
.
getContactNumber
().
substring
(
0
,
3
)+
"****"
+
order
.
getContactNumber
().
substring
(
7
,
11
));
}
return
ResponseData
.
success
(
order
);
}
...
...
task/src/main/java/com/winsun/TimingTask/RhZhiNenTask.java
View file @
e921634d
...
...
@@ -7,7 +7,9 @@ import com.winsun.bean.Order;
import
com.winsun.bean.OrderView
;
import
com.winsun.bean.UniversityInfo
;
import
com.winsun.constant.Constant
;
import
com.winsun.mapper.*
;
import
com.winsun.mapper.OrderMapper
;
import
com.winsun.mapper.OrderViewMapper
;
import
com.winsun.mapper.UniversityInfoMapper
;
import
com.winsun.utils.BeanUtil
;
import
com.winsun.utils.MD5Utils
;
import
com.winsun.utils.MyBatisPlusUpdateUtils
;
...
...
@@ -15,7 +17,6 @@ import lombok.extern.slf4j.Slf4j;
import
net.sf.json.JSONArray
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.http.HttpEntity
;
import
org.apache.http.HttpHost
;
import
org.apache.http.HttpResponse
;
import
org.apache.http.NameValuePair
;
import
org.apache.http.client.config.RequestConfig
;
...
...
@@ -52,7 +53,7 @@ public class RhZhiNenTask {
//@Scheduled(cron = "0 0 0 * * ? ")
@Scheduled
(
cron
=
"0
/5 * *
* * ? "
)
@Scheduled
(
cron
=
"0
0 0/1
* * ? "
)
//@Scheduled(fixedRate=1000*60)
@PostMapping
(
"/rhZhiNenTask"
)
public
void
general
()
throws
Exception
{
...
...
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