Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 94f0de32
authored
Apr 22, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能数据服务 更新用户家地址日志--think.wang
1 parent
fa20ff7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/com/glsx/smart/controller/UserKafkaController.java
src/main/java/com/glsx/smart/controller/UserKafkaController.java
View file @
94f0de3
...
@@ -57,6 +57,7 @@ public class UserKafkaController {
...
@@ -57,6 +57,7 @@ public class UserKafkaController {
@RequestMapping
(
value
=
"/updateUserAddress"
,
method
=
{
RequestMethod
.
POST
,
RequestMethod
.
GET
})
@RequestMapping
(
value
=
"/updateUserAddress"
,
method
=
{
RequestMethod
.
POST
,
RequestMethod
.
GET
})
public
boolean
updateUserAddress
(
@RequestParam
(
"userId"
)
Long
userId
,
@RequestParam
(
"phone"
)
String
phone
,
public
boolean
updateUserAddress
(
@RequestParam
(
"userId"
)
Long
userId
,
@RequestParam
(
"phone"
)
String
phone
,
@RequestParam
(
"lngAndLat"
)
String
lngAndLat
){
@RequestParam
(
"lngAndLat"
)
String
lngAndLat
){
log
.
info
(
"更新用户家庭地址:{} {} {}"
,
userId
,
phone
,
lngAndLat
);
SmartUserRelation
relation
=
getUserRelation
(
userId
,
phone
);
SmartUserRelation
relation
=
getUserRelation
(
userId
,
phone
);
if
(
relation
==
null
){
if
(
relation
==
null
){
return
false
;
return
false
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment