Browse Source

Updated files

master
adiao 3 years ago
parent
commit
4fccf4e3d2
  1. 13
      微信小程序开发.md

13
微信小程序开发.md

@ -34,3 +34,16 @@ console.log(res.data) // my from index page @@ -34,3 +34,16 @@ console.log(res.data) // my from index page
进而实现界面的值传递。
## 登录流程
---
1. 判断token是否存在
2. 判断本地缓存是否有用户信息
3. 判断后端数据库是否有用户存在
4. 判断Openid、Sessionkey等相关信息
#### 判断token是否存在
1. 将Code 发送到后端。获取Openid、Sessionkey。
2. 后端判断是否含有token。没有则进行

Loading…
Cancel
Save