Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
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
head_group
xyqb-user2
Commits
fea6c468
Commit
fea6c468
authored
Jan 06, 2017
by
zhouqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitabc.xyqb.com/head_group/xyqb-user2
parents
1f22aa27
47428187
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
pom.xml
pom.xml
+1
-1
UserController.java
...ntgroup/xyqb/controller/internal/user/UserController.java
+2
-3
No files found.
pom.xml
View file @
fea6c468
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
<dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
quantgroup-sms-sdk
</artifactId>
<artifactId>
quantgroup-sms-sdk
</artifactId>
<version>
1.0.5
</version>
<version>
1.0.5
-SNAPSHOT
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
src/main/java/cn/quantgroup/xyqb/controller/internal/user/UserController.java
View file @
fea6c468
...
@@ -216,7 +216,7 @@ public class UserController implements IBaseController {
...
@@ -216,7 +216,7 @@ public class UserController implements IBaseController {
public
JsonResult
register
(
@RequestParam
String
phoneNo
,
@RequestParam
String
password
,
public
JsonResult
register
(
@RequestParam
String
phoneNo
,
@RequestParam
String
password
,
@RequestParam
String
verificationCode
,
@RequestParam
(
required
=
false
)
Long
channelId
,
@RequestParam
String
verificationCode
,
@RequestParam
(
required
=
false
)
Long
channelId
,
@RequestParam
(
required
=
false
)
Long
registerFrom
)
{
@RequestParam
(
required
=
false
)
Long
registerFrom
)
{
LOGGER
.
info
(
"用户注册, phoneNo:{}, verificationCode:{}, channelId:{}, registerFrom:{}
,appChannel:{}"
,
phoneNo
,
verificationCode
,
channelId
,
registerFrom
,
getAppChannel
()
);
LOGGER
.
info
(
"用户注册, phoneNo:{}, verificationCode:{}, channelId:{}, registerFrom:{}
"
,
phoneNo
,
verificationCode
,
channelId
,
registerFrom
);
if
(!
ValidationUtil
.
validatePhoneNo
(
phoneNo
))
{
if
(!
ValidationUtil
.
validatePhoneNo
(
phoneNo
))
{
LOGGER
.
info
(
"用户注册失败,手机号错误, registerFrom:{}, phoneNo:{}"
,
registerFrom
,
phoneNo
);
LOGGER
.
info
(
"用户注册失败,手机号错误, registerFrom:{}, phoneNo:{}"
,
registerFrom
,
phoneNo
);
return
JsonResult
.
buildErrorStateResult
(
"手机号错误"
,
null
);
return
JsonResult
.
buildErrorStateResult
(
"手机号错误"
,
null
);
...
@@ -245,7 +245,7 @@ public class UserController implements IBaseController {
...
@@ -245,7 +245,7 @@ public class UserController implements IBaseController {
return
JsonResult
.
buildErrorStateResult
(
"注册失败,请稍后重试"
,
null
);
return
JsonResult
.
buildErrorStateResult
(
"注册失败,请稍后重试"
,
null
);
}
}
LOGGER
.
info
(
"用户注册成功, registerFrom:{}, phoneNo:{}
, appChannel:{}"
,
registerFrom
,
phoneNo
,
getAppChannel
()
);
LOGGER
.
info
(
"用户注册成功, registerFrom:{}, phoneNo:{}
"
,
registerFrom
,
phoneNo
);
return
JsonResult
.
buildSuccessResult
(
null
,
null
);
return
JsonResult
.
buildSuccessResult
(
null
,
null
);
}
}
...
@@ -455,5 +455,4 @@ public class UserController implements IBaseController {
...
@@ -455,5 +455,4 @@ public class UserController implements IBaseController {
}
}
}
}
}
}
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