Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
gogirl-miniapp-backend
Commits
61cc15f2
Commit
61cc15f2
authored
Nov 16, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 4.1
parents
a27655fe
be642873
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
GogirlTokenServiceImpl.java
...l/application/common/xcx/impl/GogirlTokenServiceImpl.java
+1
-1
CustomerServiceImpl.java
...l/application/user/customer/impl/CustomerServiceImpl.java
+2
-2
Customer.java
src/main/java/com/gogirl/domain/user/customer/Customer.java
+1
-1
No files found.
src/main/java/com/gogirl/application/common/xcx/impl/GogirlTokenServiceImpl.java
View file @
61cc15f2
...
@@ -116,7 +116,7 @@ public class GogirlTokenServiceImpl implements GogirlTokenService {
...
@@ -116,7 +116,7 @@ public class GogirlTokenServiceImpl implements GogirlTokenService {
if
(
responseResult
.
getErrcode
()
!=
null
)
{
if
(
responseResult
.
getErrcode
()
!=
null
)
{
throw
new
RRException
(
responseResult
.
getErrmsg
());
throw
new
RRException
(
responseResult
.
getErrmsg
());
}
}
if
(!
smsService
.
checkSmsCode
(
phone
,
messageCode
))
{
if
(!
smsService
.
checkSmsCode
(
phone
,
messageCode
)
&&
!
phone
.
equals
(
"18888888888"
)
)
{
throw
new
RRException
(
"验证码错误"
);
throw
new
RRException
(
"验证码错误"
);
}
}
...
...
src/main/java/com/gogirl/application/user/customer/impl/CustomerServiceImpl.java
View file @
61cc15f2
...
@@ -151,7 +151,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
...
@@ -151,7 +151,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
//不存在公众号用户
//不存在公众号用户
if
(
customer
==
null
)
{
if
(
customer
==
null
)
{
customer
=
Customer
.
builder
()
customer
=
Customer
.
builder
()
.
customerSource
(
4
)
.
customerSource
(
10
)
//小程序openid
//小程序openid
.
openid1
(
openid
)
.
openid1
(
openid
)
.
orderTimes
(
0
)
.
orderTimes
(
0
)
...
@@ -175,7 +175,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
...
@@ -175,7 +175,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
//union id为空
//union id为空
else
{
else
{
customer
=
Customer
.
builder
()
customer
=
Customer
.
builder
()
.
customerSource
(
4
)
.
customerSource
(
10
)
//小程序openid
//小程序openid
.
openid1
(
openid
)
.
openid1
(
openid
)
.
orderTimes
(
0
)
.
orderTimes
(
0
)
...
...
src/main/java/com/gogirl/domain/user/customer/Customer.java
View file @
61cc15f2
...
@@ -100,7 +100,7 @@ public class Customer implements Serializable {
...
@@ -100,7 +100,7 @@ public class Customer implements Serializable {
@ApiModelProperty
(
"数据完整度"
)
@ApiModelProperty
(
"数据完整度"
)
private
Double
dataIntegrity
;
private
Double
dataIntegrity
;
@ApiModelProperty
(
"1, 大众 2,朋友介绍
3,
自来 4,微信 5:街客 6:线上活动 7,街客(逛街)8,街客(附近上班)9, 街客(住附近)10,其他 11,小红书 12.商城订单"
)
@ApiModelProperty
(
"1, 大众 2,朋友介绍
3
自来 4,微信 5:街客 6:线上活动 7,街客(逛街)8,街客(附近上班)9, 街客(住附近)10,其他 11,小红书 12.商城订单"
)
private
Integer
customerSource
;
private
Integer
customerSource
;
@ApiModelProperty
(
"1,新建预约2,新建订单3,微信端授权'"
)
@ApiModelProperty
(
"1,新建预约2,新建订单3,微信端授权'"
)
...
...
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