Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
99654a3f
Commit
99654a3f
authored
Dec 15, 2021
by
Lightsnow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Record unionId
parent
54dc6df0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/pages/login/index.vue
+4
-2
No files found.
src/pages/login/index.vue
View file @
99654a3f
...
@@ -205,6 +205,7 @@ export default {
...
@@ -205,6 +205,7 @@ export default {
{
{
attractingCustomersChannelId
:
wx
.
getStorageSync
(
'attractingCustomerChannelId'
),
attractingCustomersChannelId
:
wx
.
getStorageSync
(
'attractingCustomerChannelId'
),
miniOpenId
:
this
.
openid
,
miniOpenId
:
this
.
openid
,
unionId
:
this
.
unionId
,
registerFlag
:
1
,
registerFlag
:
1
,
newRegisterFlag
:
flag
?
1
:
0
,
//1是新注册用户
newRegisterFlag
:
flag
?
1
:
0
,
//1是新注册用户
}
}
...
@@ -516,13 +517,14 @@ export default {
...
@@ -516,13 +517,14 @@ export default {
const
query
=
{
const
query
=
{
openId
:
this
.
openid
,
openId
:
this
.
openid
,
unionId
:
this
.
unionId
,
unionId
:
this
.
unionId
,
headImgUrl
:
this
.
userInfo
.
avatarUrl
,
headImgUrl
:
encodeURIComponent
(
this
.
userInfo
.
avatarUrl
)
,
gender
:
this
.
userInfo
.
gender
,
gender
:
this
.
userInfo
.
gender
,
nickname
:
this
.
userInfo
.
nickName
,
nickname
:
this
.
userInfo
.
nickName
,
country
:
this
.
userInfo
.
country
,
country
:
this
.
userInfo
.
country
,
province
:
this
.
userInfo
.
province
,
province
:
this
.
userInfo
.
province
,
city
:
this
.
userInfo
.
city
,
city
:
this
.
userInfo
.
city
,
...
this
.
queryOptions
,
param
:
this
.
queryOptions
.
param
,
back
:
this
.
queryOptions
.
back
,
};
};
console
.
log
(
query
,
'-------------------519'
)
console
.
log
(
query
,
'-------------------519'
)
console
.
log
(
serialize
(
query
),
'------------------- serialize(query)'
)
console
.
log
(
serialize
(
query
),
'------------------- serialize(query)'
)
...
...
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