Commit 1c25fb07 authored by mengcuiguang's avatar mengcuiguang

分享用户uid

parent 1b652dc3
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
// baseUrl: 'http://192.168.110.71:8301/miniApi', // baseUrl: 'http://192.168.110.71:8301/miniApi',
titleButtonWidth: 38, titleButtonWidth: 38,
token: '', token: '',
userId: '', userId: 0,
inviteUId: '', inviteUId: '',
serviceUrl: '', serviceUrl: '',
downUrl: '', // downUrl: '', //
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
data() { data() {
return { return {
tips1: '', tips1: '',
shareId: '', shareId: 0,
slotParam: '', slotParam: '',
appName: '' appName: ''
} }
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
success: ({ success: ({
data data
}) => { }) => {
app.globalData.userId = data.idcode; app.globalData.userId = data.pk_id;
uni.setStorage({ uni.setStorage({
key: 'token', key: 'token',
data: data.token data: data.token
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment