Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张云鹏
/
uc-engine
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
c86ef2b6
...
c86ef2b67a2afa54491e965cb1cc95c78ccc8467
authored
2022-04-28 17:31:04 +0800
by
xianghan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.添加中奖人联系地址接口
1 parent
446b6ce6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
member-service-impl/src/main/java/com/topdraw/business/module/contact/vis/rest/ActivityAddressController.java
member-service-impl/src/main/java/com/topdraw/business/module/contact/vis/rest/ActivityAddressController.java
View file @
c86ef2b
...
...
@@ -78,6 +78,18 @@ public class ActivityAddressController {
if
(
Objects
.
isNull
(
userId
))
{
Assert
.
notNull
(
userId
,
"visUserId is null"
);
}
String
name
=
resources
.
getName
();
if
(!
StringUtils
.
hasText
(
name
))
{
Assert
.
notNull
(
name
,
"name is null"
);
}
String
cellphone
=
resources
.
getCellphone
();
if
(!
StringUtils
.
hasText
(
cellphone
))
{
Assert
.
notNull
(
cellphone
,
"cellphone is null"
);
}
String
address
=
resources
.
getAddress
();
if
(!
StringUtils
.
hasText
(
address
))
{
Assert
.
notNull
(
address
,
"address is null"
);
}
ActivityAddressDTO
activityAddressDTO
=
this
.
activityAddressService
.
createOrUpdateActivityAddress
(
resources
);
return
ResultInfo
.
success
(
activityAddressDTO
);
}
...
...
Please
register
or
sign in
to post a comment