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
db3c9cdd
Commit
db3c9cdd
authored
Nov 20, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
757f5b9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CustomerController.java
...m/gogirl/interfaces/user/customer/CustomerController.java
+4
-2
No files found.
src/main/java/com/gogirl/interfaces/user/customer/CustomerController.java
View file @
db3c9cdd
...
@@ -6,6 +6,7 @@ import com.gogirl.domain.user.customer.Customer;
...
@@ -6,6 +6,7 @@ import com.gogirl.domain.user.customer.Customer;
import
com.gogirl.infrastructure.common.annotation.AuthIgnore
;
import
com.gogirl.infrastructure.common.annotation.AuthIgnore
;
import
com.gogirl.infrastructure.common.annotation.LoginIgnore
;
import
com.gogirl.infrastructure.common.annotation.LoginIgnore
;
import
com.gogirl.infrastructure.common.base.JsonResult
;
import
com.gogirl.infrastructure.common.base.JsonResult
;
import
com.gogirl.infrastructure.common.exception.RRException
;
import
com.gogirl.shared.member.CustomerOrderDetail
;
import
com.gogirl.shared.member.CustomerOrderDetail
;
import
com.gogirl.shared.user.CustomerQuery
;
import
com.gogirl.shared.user.CustomerQuery
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
...
@@ -92,8 +93,6 @@ public class CustomerController {
...
@@ -92,8 +93,6 @@ public class CustomerController {
}
}
@AuthIgnore
@AuthIgnore
@ApiOperation
(
value
=
"客户根据token获取用户信息"
)
@ApiOperation
(
value
=
"客户根据token获取用户信息"
)
@GetMapping
(
"/customer/xcx/getUserInfo"
)
@GetMapping
(
"/customer/xcx/getUserInfo"
)
...
@@ -152,6 +151,9 @@ public class CustomerController {
...
@@ -152,6 +151,9 @@ public class CustomerController {
@RequestParam
(
required
=
false
)
String
preference
,
@RequestParam
(
required
=
false
)
String
preference
,
@RequestParam
(
required
=
false
)
String
character
,
@RequestParam
(
required
=
false
)
String
character
,
@RequestParam
(
required
=
false
)
Integer
customerSource
)
{
@RequestParam
(
required
=
false
)
Integer
customerSource
)
{
if
(
customerSource
==
null
)
{
throw
new
RRException
(
"客户来源必填"
);
}
customerService
.
updateCustomerDetail
(
birthdayMonth
,
birthdayDay
,
ageGroup
,
customerId
,
orderId
,
orderServeId
,
storeRecordRealName
,
sex
,
age
,
job
,
preference
,
character
,
customerSource
);
customerService
.
updateCustomerDetail
(
birthdayMonth
,
birthdayDay
,
ageGroup
,
customerId
,
orderId
,
orderServeId
,
storeRecordRealName
,
sex
,
age
,
job
,
preference
,
character
,
customerSource
);
return
JsonResult
.
success
();
return
JsonResult
.
success
();
}
}
...
...
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