Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
f61360d7
Commit
f61360d7
authored
Mar 09, 2020
by
杨钧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客服绑卡接口新增
parent
b210b512
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CardResult.java
.../java/cn/quantgroup/customer/rest/vo/card/CardResult.java
+1
-1
CardServiceImpl.java
.../cn/quantgroup/customer/service/impl/CardServiceImpl.java
+3
-3
No files found.
src/main/java/cn/quantgroup/customer/rest/vo/card/CardResult.java
View file @
f61360d7
...
@@ -8,7 +8,7 @@ import lombok.ToString;
...
@@ -8,7 +8,7 @@ import lombok.ToString;
import
java.util.List
;
import
java.util.List
;
/**
/**
* @author
Jony
* @author
yangjun
* @Date 2020/3/9 11:20
* @Date 2020/3/9 11:20
* @Desc
* @Desc
* @Update
* @Update
...
...
src/main/java/cn/quantgroup/customer/service/impl/CardServiceImpl.java
View file @
f61360d7
...
@@ -144,7 +144,7 @@ public class CardServiceImpl implements ICardService {
...
@@ -144,7 +144,7 @@ public class CardServiceImpl implements ICardService {
@Override
@Override
public
JsonResult
modifyReservePhone
(
ModifyReservePhone
modifyReservePhone
)
{
public
JsonResult
modifyReservePhone
(
ModifyReservePhone
modifyReservePhone
)
{
if
(
Objects
.
isNull
(
modifyReservePhone
))
{
if
(
Objects
.
isNull
(
modifyReservePhone
))
{
log
.
error
(
"请求参数
unBindCardModel
为空"
);
log
.
error
(
"请求参数
modifyReservePhone
为空"
);
return
JsonResult
.
buildErrorStateResult
(
ErrorCodeEnum
.
PARAM_ERROR
.
getMessage
(),
ErrorCodeEnum
.
PARAM_ERROR
.
getCode
());
return
JsonResult
.
buildErrorStateResult
(
ErrorCodeEnum
.
PARAM_ERROR
.
getMessage
(),
ErrorCodeEnum
.
PARAM_ERROR
.
getCode
());
}
}
...
@@ -152,8 +152,8 @@ public class CardServiceImpl implements ICardService {
...
@@ -152,8 +152,8 @@ public class CardServiceImpl implements ICardService {
if
(
Objects
.
isNull
(
modifyReservePhone
.
getBankId
())
if
(
Objects
.
isNull
(
modifyReservePhone
.
getBankId
())
||
Objects
.
isNull
(
modifyReservePhone
.
getUserId
())
||
Objects
.
isNull
(
modifyReservePhone
.
getUserId
())
||
StringUtils
.
isBlank
(
modifyReservePhone
.
getPhoneNo
()))
{
||
StringUtils
.
isBlank
(
modifyReservePhone
.
getPhoneNo
()))
{
log
.
error
(
"请求参数 b
ind
Id,userId,phoneNo 都不能为空"
);
log
.
error
(
"请求参数 b
ank
Id,userId,phoneNo 都不能为空"
);
return
JsonResult
.
buildErrorStateResult
(
"b
ind
Id,userId,phoneNo 不能为空"
,
ErrorCodeEnum
.
RETURN_ERROR
.
getCode
());
return
JsonResult
.
buildErrorStateResult
(
"b
ank
Id,userId,phoneNo 不能为空"
,
ErrorCodeEnum
.
RETURN_ERROR
.
getCode
());
}
}
//发起xyqb查询
//发起xyqb查询
...
...
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