TODO:小程序手机预览调试

TODO:小程序手机预览调试

1. 小程序注册,目前还未开通个人注册,主体类型为企业、政府、媒体、其他组织

2. 登录小程序,绑定开发者,获取AppID

3. 下载微信小程序示例-新片预告

https://github.com/CFETeam/weapp-demo-video

这个地址有很详细的教程,大家可以按教程来部署。主要部署mysql服务器,https服务,nginx反向代理服务,Node.js服务

4. 本地微信小程序开发者工具,根据AppID倒入对呀的video代码进行调试

5. 开发者工具,可以进行编辑,编译,调试

6. 在微信web开发者上可以正常使用video,能够正常访问到node服务,访问到mysql数据库,并获取到数据,返回到小程序

7. 发布手机预览

8. 使用微信扫描,可以访问界面

9. 第一页面可正常访问,第二界面一直处于“加载中…”

第二个画面是https调用服务器请求返回数据的,跟踪后台服务器日志,发现并没有访问到服务器。猜测应该是小程序在微信预览上的bug,哪位大侠有遇到此类问题,帮忙解决一下,小编不胜感激。


wxgzh:ludong86

qrcode_for_gh_6bb1f39ae99c_258

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
填充下面这个程序中所有出现// TODO: fill the code这个任务的地方#include <iostream> #include <cstring> #include "ourstring.h" #include "strlib.h" using namespace std; OurString::OurString(){ // TODO: fill the code } OurString::OurString(const char *str){ // TODO: fill the code } OurString::OurString(const OurString &dstr){ // TODO: fill the code } OurString::~OurString(){ // TODO: fill the code } string OurString::toString() const{ // TODO: fill the code } OurString OurString::subStr(unsigned int start, unsigned int n) const{ // TODO: fill the code } bool OurString::operator > (const OurString &dstr) const{ // TODO: fill the code } bool OurString::operator < (const OurString &dstr) const{ // TODO: fill the code } bool OurString::operator == (const OurString &dstr) const{ // TODO: fill the code } unsigned int OurString::length () const{ // TODO: fill the code } const OurString& OurString::operator = (const OurString &dstr){ // TODO: fill the code } const OurString& OurString::operator = (const char *str){ // TODO: fill the code } char& OurString::operator[](int index){ // TODO: fill the code } const OurString OurString::operator + (const OurString &dstr) const{ // TODO: fill the code } const OurString OurString::operator + (const char *str) const{ // TODO: fill the code } const OurString& OurString::operator += (const OurString &dstr){ // TODO: fill the code } const OurString& OurString::operator += (const char *str){ // TODO: fill the code } ostream & operator<<(ostream &os, const OurString &dstr){ // TODO: fill the code } istream & operator>>(istream &is, OurString &dstr){ // TODO: fill the code }
05-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值