Comments (2)
用户第一次登录不能使用 code 登录
from wafer2-node-sdk.
奥,谢谢大神解答,终于登陆成功了,,
原来是我用微信云登陆过,,改了client的config.js中的host后又用本地环境登陆……
qcloud.Session.get()拿到了会话信息。。所以调用qcloud.loginWithCode了……-_-#
【/client/pages/index/index.js中部分代码】
const session = qcloud.Session.get()
if (session) {
// 第二次登录
// 或者本地已经有登录态
// 可使用本函数更新登录态
from wafer2-node-sdk.
Related Issues (20)
- 新版wafer2-node-sdk刷新用户信息的问题 HOT 3
- wafer2-node-sdk拿到的昵称有可能是乱码 HOT 3
- 如何支持mysql 5.6版本 HOT 1
- 考虑支持mongodb吗? HOT 1
- 更新 1.4.0 之后 qcloud.request 参数 login: false 时 skey 会报错
- 新用户首次登录,在authorization方法中出现异常 HOT 1
- 上传文件的接口感觉有问题每次生成的imagekey都是扩展名麻烦尽快修正 HOT 1
- 信道接口是不是存在安全漏洞? HOT 1
- qcloud.uploader 如何支持上传视频? HOT 1
- 登录后去拿login信息时失败
- 生产环境上传图片拿到imageKey是扩展名 HOT 4
- Jest testEnvironment node throw error
- 关于多URL-信道的BUG HOT 1
- authorization (req) 似乎有个逻辑bug HOT 2
- 返回的用户信息出现奇怪的错误 HOT 7
- 官方在DEMO中可否提供COS的DELETE接口?
- demo中的登录接口报 响应错误,{"code":-1,"error":"ERR_REQUEST_PARAM"} HOT 1
- 上传文件有bug,
- 无法从userInfo中获取openid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wafer2-node-sdk.