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
f6481ca0
Commit
f6481ca0
authored
Sep 04, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
反诈页面只需上传图片修改
parent
efdb79da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
apply-net/src/main/java/com/winsun/controller/AntiFraudController.java
+34
-0
No files found.
apply-net/src/main/java/com/winsun/controller/AntiFraudController.java
View file @
f6481ca0
...
...
@@ -76,4 +76,38 @@ public class AntiFraudController {
return
ResponseData
.
success
(
"上传成功!"
);
}
}
/**
* 学生反诈通告签字上传
*
* @param userName 用户名(可空)
* @param orderPhone 办理号码(可空)
* @param linkPhone 联系号码(可空)
* @param file1 签字图片
* @return
*/
@RequestMapping
(
value
=
"uploadSign2"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
ResponseData
<
String
>
uploadStuCard2
(
String
userName
,
String
orderPhone
,
String
linkPhone
,
String
file1
)
{
AntiFraudNotice
notice
=
new
AntiFraudNotice
();
notice
.
setUserName
(
userName
);
notice
.
setOrderPhone
(
orderPhone
);
notice
.
setLinkPhone
(
linkPhone
);
notice
.
setUploadDate
(
new
Date
());
if
(
StringUtils
.
isNotBlank
(
file1
))
{
String
file01
=
PicturesUtil
.
uploadPictures
(
file1
,
orderPhone
,
PATH1
);
notice
.
setOtherImgUrl1
(
file01
);
}
notice
.
setIsFirstUpload
(
1
);
notice
.
setFirstUploadDate
(
new
Date
());
try
{
antiFraudNoticeMapper
.
insert
(
notice
);
}
catch
(
Exception
e
){
e
.
printStackTrace
();
return
ResponseData
.
error
(
"上传失败!"
);
}
return
ResponseData
.
success
(
"上传成功!"
);
}
}
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