-
mysql('question_detail').where((players[openId1].sortId == 1) ? {} : { sort_id: players[openId1].sortId }).select('*').orderByRaw('RAND()').limit(option.QUESTION_NUMBER).then(res => {}
偶现查不到题目,请问是不…
-
查看代码 [login.js](https://github.com/tencentyun/wafer2-client-sdk/blob/master/lib/login.js#L28-L43) 中,无法传入小程序文档中的参数,如 `withCredentials` , `lang`, 等
-
是不是pm2 ?
碰到连接超时或者其他错误的,怎么让node服务端自动重启?
谢谢!
dfang updated
6 years ago
-
我在digitalocean上有服务器,想自己部署。还请腾讯云的同事尽快出一份wafer自行部署的教程
raypp updated
6 years ago
-
我这边是按照这个教程在腾讯的云服务器上部署Demo的
https://github.com/tencentyun/wafer2-startup/wiki/%E8%87%AA%E8%A1%8C%E9%83%A8%E7%BD%B2
但是,在执行到npm install时,安装报错:
![image](https://user-images.githubusercontent.com/7564…
-
wafer2服务器download了一个张图,文件流保存到./love.jpeg中,请问网络url是多少?
代码如下:
`if (response.status == 200) {
//输出返回的内容
qrcode = response.data;
fs.writeFile("./love.jpeg", qrcode, "binary"…
-
-
https://github.com/tencentyun/wafer2-client-sdk/blob/dada27c06176721656a7ddcfc4c98965b9255e11/lib/login.js#L139
-
我是按照这篇文档在腾讯的云服务器上进行配置的,
https://github.com/tencentyun/wafer2-startup/wiki/%E8%87%AA%E8%A1%8C%E9%83%A8%E7%BD%B2
域名是自动生成的,91039621.qcloud.la
通过点击文档上的链接,下载证书到服务器的/data/release/nginx下, 配置完成后,我用nginx …
-
wiki自行部署的文档中:
上传 Demo 和启动
到 Wafer2-startup 仓库下载最新的 Demo 代码,修改 server/config.js:
这个地方
config.js文件里的tunnelServerUrl原文是http://tunnel.ws.qcloud.la,
问题:
按照原文配置后,使用开发工具测试时发现可以连接信道服务但是无法推送消息,
在调试器…