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
5554c9b6
Commit
5554c9b6
authored
Jun 24, 2020
by
xieshixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加提示
parent
42af403e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
37 deletions
+40
-37
domain/src/main/java/com/hikcreate/edl/pub/web/mobile/domain/IBindService.java
+5
-5
domain/src/main/java/com/hikcreate/edl/pub/web/mobile/domain/impl/BindServiceImpl.java
+31
-32
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/core/Result/ResultGenerator.java
+4
-0
No files found.
domain/src/main/java/com/hikcreate/edl/pub/web/mobile/domain/IBindService.java
View file @
5554c9b6
...
...
@@ -29,14 +29,14 @@ public interface IBindService extends IService<ParkBindInfo> {
* @author: xsx
* @date: 2020/6/19 10:32
*/
Res
ponse
bind
(
ParkBindInfo
info
);
Res
ult
bind
(
ParkBindInfo
info
);
/**
* 信息解绑
* @param req
* @return
*/
Res
ponse
unbindInfo
(
UnBindReq
req
);
Res
ult
unbindInfo
(
UnBindReq
req
);
/**
* 查询用户绑定信息
...
...
@@ -51,7 +51,7 @@ public interface IBindService extends IService<ParkBindInfo> {
* @param query
* @return
*/
Res
ponse
yearCheckInfo
(
H5BindInfoQuery
query
);
Res
ult
yearCheckInfo
(
H5BindInfoQuery
query
);
/**
* 保险信息查询接口
...
...
@@ -68,7 +68,7 @@ public interface IBindService extends IService<ParkBindInfo> {
* @author: xsx
* @date: 2020/6/19 16:06
*/
Res
ponse
violationInfo
(
H5BindInfoQuery
query
);
Res
ult
violationInfo
(
H5BindInfoQuery
query
);
/**
* 驾照信息查询接口
...
...
@@ -78,6 +78,6 @@ public interface IBindService extends IService<ParkBindInfo> {
* @author: xsx
* @date: 2020/6/19 16:29
*/
Res
ponse
<
DrivingLicenseInfoRes
>
drivingLicenseInfo
(
H5BindInfoQuery
query
);
Res
ult
<
DrivingLicenseInfoRes
>
drivingLicenseInfo
(
H5BindInfoQuery
query
);
}
domain/src/main/java/com/hikcreate/edl/pub/web/mobile/domain/impl/BindServiceImpl.java
View file @
5554c9b6
This diff is collapsed.
Click to expand it.
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/core/Result/ResultGenerator.java
View file @
5554c9b6
...
...
@@ -2,6 +2,9 @@ package com.hikcreate.edl.pub.web.mobile.infra.core.Result;
import
com.hikcreate.common.sdk.response.statuscode.StatusCode
;
/**
*
*/
public
class
ResultGenerator
{
public
static
<
T
>
Result
<
T
>
success
()
{
...
...
@@ -43,6 +46,7 @@ public class ResultGenerator {
return
result
;
}
public
static
<
T
>
Result
<
T
>
fail
(
long
code
,
String
msg
)
{
Result
<
T
>
result
=
new
Result
<>();
result
.
setSuccess
(
false
);
...
...
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