All Projects → piscium2010 → Cos Wx Upload File

piscium2010 / Cos Wx Upload File

Licence: mit
微信小程序上传文件到腾讯云v5;Wechat mini program upload file to tencent cos v5

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cos Wx Upload File

Cleanupwechatzombiefans
auto.js脚本,Android自动化,清理微信僵尸粉
Stars: ✭ 155 (+20.16%)
Mutual labels:  wechat, wx
Wxread Webautoreader
微信读书自动阅读器,全自动刷阅读时长,轻轻松松冲顶霸榜,您的微读挂机好帮手
Stars: ✭ 138 (+6.98%)
Mutual labels:  wechat, wx
Wechat Django
WeChat-Django旨在为接入微信公众平台的django开发者提供便捷的微信功能封装及最基本的后台管理支持
Stars: ✭ 143 (+10.85%)
Mutual labels:  wechat, wx
Weapp
🐧 微信小程序组件和功能封装,基于微信Component自定义组件开发
Stars: ✭ 235 (+82.17%)
Mutual labels:  wechat, wx
Wechatyunchart
微信多开多账号机器人 云客服系统 微商营销 系统web协议一键登录 非公众号微信机器人微信群管家 微信自动回复 微信定时发送消息 微信多账号登录 微信网页版本协议多开 一键登录 红包数量提醒 微信用户识别男女签名备注地理位置等,群发 自动发消息 定时发消息 群消息监控 机器人回复 ,定时回复,超时回复 聊天记录保存,聊天记录查看
Stars: ✭ 357 (+176.74%)
Mutual labels:  wechat, wx
Mhdevelopexample objective c
🔥🔥🔥 iOS开发技术要点汇总,核心功能配备文档。表情键盘布局、大文件分片上传、基于MVC的基类设计、MVVM+RAC实践、微信朋友圈实现方案等。
Stars: ✭ 937 (+626.36%)
Mutual labels:  upload, wechat
Weixin Java Miniapp Demo
基于Spring Boot 和 WxJava 实现的微信小程序Java后端Demo
Stars: ✭ 779 (+503.88%)
Mutual labels:  wechat, wx
Sy flutter wechat
Flutter 微信支付插件
Stars: ✭ 108 (-16.28%)
Mutual labels:  wechat, wx
Wechat article
爬取微信公众号文章
Stars: ✭ 121 (-6.2%)
Mutual labels:  wechat
Dwwxpay
微信支付/订单查询
Stars: ✭ 122 (-5.43%)
Mutual labels:  wechat
Tut Android
即时聊天,自带服务器,有朋友圈功能等等
Stars: ✭ 120 (-6.98%)
Mutual labels:  wechat
Wechat ayibang
微信小程序仿阿姨帮
Stars: ✭ 121 (-6.2%)
Mutual labels:  wechat
Unwxapkg
微信小程序.wxapkg解码工具
Stars: ✭ 123 (-4.65%)
Mutual labels:  wechat
Wechatspellbook
Wechat Spellbook 是一个使用Kotlin编写的开源微信插件框架,底层需要 Xposed 或 VirtualXposed 等Hooking框架的支持,而顶层可以轻松对接Java、Kotlin、Scala等JVM系语言。让程序员能够在几分钟内编写出简单的微信插件,随意揉捏微信的内部逻辑。
Stars: ✭ 1,584 (+1127.91%)
Mutual labels:  wechat
React Files
A file input (dropzone) management component for React
Stars: ✭ 126 (-2.33%)
Mutual labels:  upload
Fcup
jquery大文件分片上传插件-fcup.js
Stars: ✭ 120 (-6.98%)
Mutual labels:  upload
S3 Uploader
🍎 macOS Electron+React App for uploading files to S3 directly from Status Bar
Stars: ✭ 119 (-7.75%)
Mutual labels:  upload
Wxxcx
Laravel5微信小程序登录获取用户信息扩展
Stars: ✭ 127 (-1.55%)
Mutual labels:  wechat
Curldrop
⏫ web app for for easy file uploads via curl
Stars: ✭ 125 (-3.1%)
Mutual labels:  upload
Wx Miniprogram Boilerplate
基于Gulp微信小程序开发工作流,支持less样式编写,支持ESLint代码检查等功能
Stars: ✭ 122 (-5.43%)
Mutual labels:  wechat

cos-wx-upload-file

微信小程序上传文件到腾讯云v5

Demo

demo

微信小程序仅支持https请求上传文件,所以我们选择了腾讯云作为文件服务器。此外腾讯云提供了配套小程序开发的SDK,方便微信上传文件时调用。

为了例子的简洁性,这里没有使用服务器鉴权,而采用了前端鉴权

前提

我们假设(哥们儿/妹子)你已经入门微信小程序开发

准备工作

注册腾讯云

COS对象存储控制台 创建存储桶,

填入存储桶名称等基本信息。为了方便测试,选择公有读私有写

为存储桶添加跨域访问规则(重要)

如果你不熟悉跨域访问设置,可参考以下配置

获取你的 Bucket(存储桶名称), Region(地域名称) 和访问域名

控制台密钥管理 获取你的 SecretId 和 SecretKey

登录微信公众平台 设置 --> 开发设置,将你刚才得到的访问域名填入服务器域名

至此,准备工作全部完成

运行项目

git clone https://github.com/piscium2010/cos-wx-upload-file.git

编辑cos-wx-upload-file\pages\index\config.js,替换你的 Bucket, Region, SecretId, SecretKey

运行小程序

写这篇教程就是因为微信的官网教程写得跟___一样,如同意请右上角点赞

羞耻广告位

designare-table: 企业级react table组件, IE11 下性能完胜Ant Design

迅速搭建React源码测试环境

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].