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
b244354d
Commit
b244354d
authored
Jun 19, 2020
by
lixian7
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改controller
parent
f460f7ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
31 deletions
+9
-31
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/controller/BindInfoControlller.java
+1
-1
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/controller/H5Controller.java
+6
-9
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/model/BindInfoQuery.java
+2
-21
No files found.
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/controller/BindInfoControlller.java
View file @
b244354d
...
...
@@ -19,7 +19,7 @@ import javax.annotation.Resource;
/**
* 绑定信息的controller
*
*
@menu 提供给第三方接口
* @author: xieshixiang
* @time:2020/6/18 15:59
**/
...
...
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/controller/H5Controller.java
View file @
b244354d
...
...
@@ -10,16 +10,13 @@ import com.hikcreate.edl.pub.web.mobile.infra.model.param.response.ViolationInfo
import
com.hikcreate.edl.pub.web.mobile.infra.model.param.response.YearCheckInfoRes
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 对外提供给H5的接口
*
*
@menu H5接口
* @author: xieshixiang
* @time:2020/6/19 16:37
**/
...
...
@@ -38,7 +35,7 @@ public class H5Controller {
* @author: xsx
* @date: 2020/6/19 10:32
*/
@
Pos
tMapping
(
"yearCheckInfo"
)
@
Ge
tMapping
(
"yearCheckInfo"
)
public
Result
<
YearCheckInfoRes
>
yearCheckInfo
(
@RequestBody
BindInfoQuery
query
)
{
if
(
query
==
null
)
{
return
Result
.
errorResult
(
ResultCode
.
PARAMETER_ERROR
,
"鉴权失败"
);
...
...
@@ -54,7 +51,7 @@ public class H5Controller {
* @author: xsx
* @date: 2020/6/19 16:28
*/
@
Pos
tMapping
(
"violationInfo"
)
@
Ge
tMapping
(
"violationInfo"
)
public
Result
<
ViolationInfoRes
>
violationInfo
(
@RequestBody
BindInfoQuery
query
)
{
if
(
query
==
null
)
{
return
Result
.
errorResult
(
ResultCode
.
PARAMETER_ERROR
,
"鉴权失败"
);
...
...
@@ -69,7 +66,7 @@ public class H5Controller {
* @author: xsx
* @date: 2020/6/19 16:28
*/
@
Pos
tMapping
(
"insuranceInfo"
)
@
Ge
tMapping
(
"insuranceInfo"
)
public
Result
<
InsuranceInfoRes
>
insuranceInfo
(
@RequestBody
BindInfoQuery
query
){
if
(
query
==
null
)
{
return
Result
.
errorResult
(
ResultCode
.
PARAMETER_ERROR
,
"鉴权失败"
);
...
...
@@ -85,7 +82,7 @@ public class H5Controller {
* @author: xsx
* @date: 2020/6/19 16:28
*/
@
Pos
tMapping
(
"drivingLicenseInfo"
)
@
Ge
tMapping
(
"drivingLicenseInfo"
)
public
Result
<
DrivingLicenseInfoRes
>
drivingLicenseInfo
(
@RequestBody
BindInfoQuery
query
)
{
if
(
query
==
null
)
{
return
Result
.
errorResult
(
ResultCode
.
PARAMETER_ERROR
,
"鉴权失败"
);
...
...
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/model/BindInfoQuery.java
View file @
b244354d
...
...
@@ -13,7 +13,7 @@ import java.io.Serializable;
* @time:2020/6/18 16:07
**/
@Data
public
class
BindInfoQuery
extends
PageQuery
implements
Serializable
{
public
class
BindInfoQuery
implements
Serializable
{
/**
* 绑定信息的唯一标识.
...
...
@@ -27,24 +27,5 @@ public class BindInfoQuery extends PageQuery implements Serializable {
*查询客户的电话号码
*/
private
String
phone
;
/**
* 查询车辆的颜色
*/
private
String
plateColor
;
/**
* 查询车辆的车牌号
*/
private
String
plateNum
;
/**
* 车牌类型
*/
private
String
plateType
;
/**
* 查询绑定信息的状态
*/
private
String
status
;
/**
* 信息的编辑时间
*/
private
DateTime
editorTime
;
}
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