Giter Club home page Giter Club logo

garbage's Introduction

垃圾分类小程序

小程序使用到的云开发内容

不了解小程序云开发请访问文档

云函数,云数据库:

  • 数据库:存储四种垃圾分类的相关垃圾数据, 创建表commit,sort,product。把sort.json 和product.csv 导入云数据库即可
  • 云函数:获取百度识别库的accessToken 百度AI识别库地址 QQ AI地址

需要修改为自己的key

  1. 小程序key 在文件project.config.json->appid 记住创建小程序的时候选择云开发
  2. 百度key 主要做拍照识别的cloudfunctions->baiduAccessToken->index->apiKey和secretKey 此处替换为:API Key 和 Secret Key
  3. 智能询问采用ai.qq 的智能闲聊接口 key在pages->android->qa->app_id和appKey

云开发管理系统

此管理系统用来管理这个小程序的数据,这样子我们彻底不需要服务器了。 GarbageAdmin 方便管理小程序云的数据

常见错误

  1. 没有自己部署云函数
  2. 数据库没有给与相应的权限,最好给最大权限
  3. 需要的key 配置错误。
  4. 没有创建数据库名称

最常见错误(遇到的人最多)

错误 解决办法

直接扫码体验

垃圾分类智能工具

其他兄弟的垃圾分类小程序

一键查垃圾分类 222 333 444 555 666

有什么问题可以访问我的群

https://developers.weixin.qq.com/community/develop/doc/000cc6600f0610559fc857f6c5600c

垃圾库 新增

https://pan.baidu.com/s/1PM7ZUB5-bVyktVbSefYDZg?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0&traceid=

转载问题

转载请署名作者,不得作为商业用途,禁止售卖。 协议

garbage's People

Contributors

qi19901212 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.