{"id":13600052,"url":"https://github.com/qi19901212/Garbage","last_synced_at":"2025-04-10T21:31:01.531Z","repository":{"id":65304365,"uuid":"195598002","full_name":"qi19901212/Garbage","owner":"qi19901212","description":"小程序云开发的垃圾分类小程序","archived":false,"fork":false,"pushed_at":"2022-08-03T07:15:48.000Z","size":1159,"stargazers_count":816,"open_issues_count":3,"forks_count":205,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-07T02:36:20.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qi19901212.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-07T01:33:54.000Z","updated_at":"2024-11-04T08:04:57.000Z","dependencies_parsed_at":"2023-01-16T11:00:46.360Z","dependency_job_id":null,"html_url":"https://github.com/qi19901212/Garbage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qi19901212%2FGarbage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qi19901212%2FGarbage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qi19901212%2FGarbage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qi19901212%2FGarbage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qi19901212","download_url":"https://codeload.github.com/qi19901212/Garbage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248301325,"owners_count":21080874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T18:00:20.627Z","updated_at":"2025-04-10T21:31:01.162Z","avatar_url":"https://github.com/qi19901212.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# 垃圾分类小程序\n## 小程序使用到的云开发内容\n\u003e 不了解小程序云开发请访问[文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)\n\n云函数，云数据库：\n- 数据库：存储四种垃圾分类的相关垃圾数据， 创建表commit,sort，product。把sort.json 和product.csv 导入云数据库即可\n- 云函数：获取百度识别库的accessToken\n[百度AI识别库地址](http://ai.baidu.com/docs#/ImageClassify-API/ebc492b1)\n[QQ AI地址](https://ai.qq.com/)\n\n## 需要修改为自己的key \n1. 小程序key 在文件project.config.json-\u003eappid 记住创建小程序的时候选择云开发\n2. 百度key 主要做拍照识别的cloudfunctions-\u003ebaiduAccessToken-\u003eindex-\u003eapiKey和secretKey\n此处替换为：API Key 和 Secret Key\n3. 智能询问采用ai.qq 的智能闲聊接口 key在pages-\u003eandroid-\u003eqa-\u003eapp_id和appKey \n\n## 云开发管理系统\n此管理系统用来管理这个小程序的数据，这样子我们彻底不需要服务器了。\n[GarbageAdmin](https://github.com/qi19901212/GarbageAdmin)\n方便管理小程序云的数据\n\n## 常见错误\n1. 没有自己部署云函数\n2. 数据库没有给与相应的权限，最好给最大权限\n3. 需要的key 配置错误。\n4. 没有创建数据库名称\n\n## 最常见错误（遇到的人最多）\n![错误](https://6c61-laji-bopv4-1259505195.tcb.qcloud.la/11111111111.png?sign=27ab0e0c9ea4f776c7da31155148feb8\u0026t=1582555839\n)\n![解决办法](https://6c61-laji-bopv4-1259505195.tcb.qcloud.la/2222222.png?sign=f40dcc35a1057378883bf0fb99c17c16\u0026t=1582556012)\n\n## 直接扫码体验\n![垃圾分类智能工具](https://6c61-laji-bopv4-1259505195.tcb.qcloud.la/%E4%B8%8B%E8%BD%BD.png?sign=9ac1d35da98fdf1ff62950948e267f05\u0026t=1562463997)\n## 其他兄弟的垃圾分类小程序\n![一键查垃圾分类](https://github.com/qi19901212/Garbage/blob/master/miniprogram/qr/laji1.jpg)\n![222](https://github.com/qi19901212/Garbage/blob/master/miniprogram/qr/222222.jpg)\n![333](https://github.com/qi19901212/Garbage/blob/master/miniprogram/qr/3333333.jpg)\n![444](https://github.com/qi19901212/Garbage/blob/master/miniprogram/qr/44444.jpg)\n![555](https://github.com/qi19901212/Garbage/blob/master/miniprogram/qr/55555.jpg)\n![666](https://github.com/qi19901212/Garbage/blob/master/miniprogram/qr/66666.jpg)\n\n\n## 有什么问题可以访问我的群\nhttps://gitee.com/sunqi/personal-contact-information\n## 垃圾库 新增\nhttps://pan.baidu.com/s/1PM7ZUB5-bVyktVbSefYDZg?errno=0\u0026errmsg=Auth%20Login%20Sucess\u0026\u0026bduss=\u0026ssnerror=0\u0026traceid=\n\n\n## 转载问题\n转载请署名作者，不得作为商业用途，禁止售卖。\n[协议](https://github.com/qi19901212/Garbage/blob/master/LICENSE)\n\n \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqi19901212%2FGarbage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqi19901212%2FGarbage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqi19901212%2FGarbage/lists"}