igit-cn / wechat-media-and-qiniu Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sublime7-1/wechat-media-and-qiniu
PHP:微信录音使用七牛云进行AMR转码为MP3
This project forked from sublime7-1/wechat-media-and-qiniu
PHP:微信录音使用七牛云进行AMR转码为MP3
一、使用 1.在需要调用的文件中包含 qiniu文件夹 里的 qiniu.php, 然后 new qiniu(); 2.uploadFile 上传文件 *filename 是二进制数据, *savename 上传到七牛保存的文件名, 返回访问路径,不支持文件流; 3.imageResize 图片缩放处理 *filename 上传到七牛保存的文件名 *downloadFile 保存本地文件名 4.audioTranscodeMp3 音频转码 *fileName 上传到七牛保存的文件名 *notifyUrl 转码完成后通知到你的业务服务器。 *pipeline 转时使用的队列名称,默认为空 *@return 上传成功则返回id,失败则返回失败原因 二、说明 getMedia.php 和 uploadMedia.php 这两个文件只为微信上传录音时,后台对接七牛服务器进行录音转码的处理 三、七牛接口地址 https://developer.qiniu.com/dora/api/6166/an-overview-of-the-api-1 四、说明 如有错误麻烦联系更改,谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.