Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
gogirl-miniapp-backend
Commits
f0e7f078
Commit
f0e7f078
authored
May 12, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
379f950f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
TestPaperController.java
.../gogirl/interfaces/user/customer/TestPaperController.java
+1
-7
No files found.
src/main/java/com/gogirl/interfaces/user/customer/TestPaperController.java
View file @
f0e7f078
...
...
@@ -12,12 +12,8 @@ import io.swagger.annotations.ApiOperation;
import
lombok.AllArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Optional
;
import
java.util.Random
;
@Api
(
tags
=
"美甲服务问卷调查接口"
)
@RestController
...
...
@@ -47,8 +43,6 @@ public class TestPaperController {
List
<
OrderQuestionOption
>
list
=
cmd
.
getList
();
list
.
forEach
(
orderQuestionOption
->
orderQuestionOption
.
setCustomerId
(
currentCustomerId
));
baseQuestionService
.
submitTestPaper
(
currentCustomerId
,
list
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
String
dtStr
=
simpleDateFormat
.
format
(
new
Date
())
+
((
Math
.
random
()*
900
)+
100
);
return
JsonResult
.
success
(
Integer
.
parseInt
(
dtStr
));
return
JsonResult
.
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