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
bd51c616
Commit
bd51c616
authored
Jan 20, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件上传添加身份证
parent
401ffe5f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
service-manager/src/main/java/com/winsun/controller/StudentCardVerifyController.java
+6
-3
No files found.
service-manager/src/main/java/com/winsun/controller/StudentCardVerifyController.java
View file @
bd51c616
...
@@ -124,15 +124,18 @@ public class StudentCardVerifyController extends BaseController {
...
@@ -124,15 +124,18 @@ public class StudentCardVerifyController extends BaseController {
*/
*/
@RequestMapping
(
value
=
"uploadCard"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"uploadCard"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@ResponseBody
public
ResponseData
<
String
>
uploadStuCard
(
String
id
Card
,
String
userName
,
String
orderPhone
,
String
linkPhone
,
public
ResponseData
<
String
>
uploadStuCard
(
String
id
,
String
userName
,
String
orderPhone
,
String
linkPhone
,
String
file1
,
String
file2
,
String
file3
,
String
file4
)
{
String
idCard
,
String
file1
,
String
file2
,
String
file3
,
String
file4
)
{
Wrapper
<
StudentCard
>
wrapper
=
new
EntityWrapper
<>();
Wrapper
<
StudentCard
>
wrapper
=
new
EntityWrapper
<>();
wrapper
.
eq
(
"id"
,
idCard
);
wrapper
.
eq
(
"id"
,
id
);
wrapper
.
eq
(
"order_phone"
,
orderPhone
);
wrapper
.
eq
(
"id_card"
,
idCard
);
StudentCard
student
=
new
StudentCard
();
StudentCard
student
=
new
StudentCard
();
student
.
setUserName
(
userName
);
student
.
setUserName
(
userName
);
student
.
setOrderPhone
(
orderPhone
);
student
.
setOrderPhone
(
orderPhone
);
student
.
setLinkPhone
(
linkPhone
);
student
.
setLinkPhone
(
linkPhone
);
student
.
setIdCard
(
idCard
);
if
(
StringUtils
.
isNotBlank
(
file1
)){
if
(
StringUtils
.
isNotBlank
(
file1
)){
String
file01
=
PicturesUtil
.
uploadPictures
(
file1
,
""
,
PATH1
);
String
file01
=
PicturesUtil
.
uploadPictures
(
file1
,
""
,
PATH1
);
student
.
setStudentCardUrl
(
file01
);
student
.
setStudentCardUrl
(
file01
);
...
...
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