Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
extend
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
park
extend
Commits
ae1262ce
Commit
ae1262ce
authored
Jul 22, 2020
by
牟邦恺
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature-20200720' into feature-20200720
parents
0a37ab8e
7a416196
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/controller/BindInfoControlller.java
+9
-3
No files found.
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/controller/BindInfoControlller.java
View file @
ae1262ce
...
@@ -48,8 +48,8 @@ public class BindInfoControlller extends BaseController {
...
@@ -48,8 +48,8 @@ public class BindInfoControlller extends BaseController {
* @date: 2020/6/19 10:27
* @date: 2020/6/19 10:27
*/
*/
@PostMapping
(
"bind"
)
@PostMapping
(
"bind"
)
//
@BodyDecryptAnnotation
@BodyDecryptAnnotation
//
@ResponseEncryptAnnotation
@ResponseEncryptAnnotation
public
Result
bindInfo
(
@RequestBody
@Validated
BindInfoReq
req
)
{
public
Result
bindInfo
(
@RequestBody
@Validated
BindInfoReq
req
)
{
Result
response
=
null
;
Result
response
=
null
;
try
{
try
{
...
@@ -65,11 +65,13 @@ public class BindInfoControlller extends BaseController {
...
@@ -65,11 +65,13 @@ public class BindInfoControlller extends BaseController {
}
}
/**
/**
* 车辆绑定短信验证
几节课
* 车辆绑定短信验证
* @param req
* @param req
* @return
* @return
*/
*/
@PostMapping
(
"bind/smsValid"
)
@PostMapping
(
"bind/smsValid"
)
@BodyDecryptAnnotation
@ResponseEncryptAnnotation
public
Result
<
BindInfoRes
>
bindSmsValid
(
@RequestBody
@Validated
BindSmsValidReq
req
)
{
public
Result
<
BindInfoRes
>
bindSmsValid
(
@RequestBody
@Validated
BindSmsValidReq
req
)
{
return
service
.
bindSmsValid
(
req
);
return
service
.
bindSmsValid
(
req
);
}
}
...
@@ -105,6 +107,8 @@ public class BindInfoControlller extends BaseController {
...
@@ -105,6 +107,8 @@ public class BindInfoControlller extends BaseController {
* @return
* @return
*/
*/
@PostMapping
(
"admin/unbind"
)
@PostMapping
(
"admin/unbind"
)
@BodyDecryptAnnotation
@ResponseEncryptAnnotation
public
Result
adminUnbind
(
@RequestBody
@Validated
AdminUnbindReq
req
)
{
public
Result
adminUnbind
(
@RequestBody
@Validated
AdminUnbindReq
req
)
{
Result
result
=
null
;
Result
result
=
null
;
try
{
try
{
...
@@ -124,6 +128,8 @@ public class BindInfoControlller extends BaseController {
...
@@ -124,6 +128,8 @@ public class BindInfoControlller extends BaseController {
* @return
* @return
*/
*/
@PostMapping
(
"admin/unbind/smsValid"
)
@PostMapping
(
"admin/unbind/smsValid"
)
@BodyDecryptAnnotation
@ResponseEncryptAnnotation
public
Result
adminUnbindSmsValid
(
@RequestBody
@Validated
AdminUnbindSmsValidReq
req
)
{
public
Result
adminUnbindSmsValid
(
@RequestBody
@Validated
AdminUnbindSmsValidReq
req
)
{
Result
result
=
null
;
Result
result
=
null
;
try
{
try
{
...
...
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