Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Chao Sun
CFFP-HB
Commits
b39eca74
Commit
b39eca74
authored
Mar 23, 2023
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享课程登录时把用户ID放缓存中
parent
5e4eafe4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
0 deletions
+1
-0
components/bootpage/bootpage.vue
+1
-0
static/product/sfpIndex.png
+0
-0
No files found.
components/bootpage/bootpage.vue
View file @
b39eca74
...
@@ -122,6 +122,7 @@
...
@@ -122,6 +122,7 @@
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
uni
.
setStorageSync
(
'isLogin'
,
'1'
);
uni
.
setStorageSync
(
'isLogin'
,
'1'
);
uni
.
setStorageSync
(
'loginType'
,
'pwlogin'
);
uni
.
setStorageSync
(
'loginType'
,
'pwlogin'
);
uni
.
setStorageSync
(
'cffp_userId'
,
this
.
userId
);
uni
.
setStorageSync
(
'uni-token'
,
res
.
data
[
'token'
]);
uni
.
setStorageSync
(
'uni-token'
,
res
.
data
[
'token'
]);
// uni.navigateTo({
// uni.navigateTo({
// url:'/pages/orderConfirm/orderConfirm?userId=' + this.userId
// url:'/pages/orderConfirm/orderConfirm?userId=' + this.userId
...
...
static/product/sfpIndex.png
0 → 100644
View file @
b39eca74
238 KB
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