Comments (8)
@myfengstyle 能详细描述一下你想怎么做么?
from cfadmin.
后台图片上传
from cfadmin.
您应该描述一下使用上传到七牛云的OSS
还是上传到本地.
-
使用
cloud.qiniu
库的oss/token
SDK生成token, 客户端拿token用form提交上传.
内部有API使用说明, 参考SDK使用与七牛云的文档即可知道如何上传. -
本地上传可以直接用form提交. 使用
logging
可以打印content
即看到上传文件内容.
然后你可根据实际情况保存文件.
from cfadmin.
好的,刚学习lua,建议写个例子,用的比较多
from cfadmin.
感谢您的建议. :)
from cfadmin.
增加了吗
from cfadmin.
查看script/test_upload.lua
from cfadmin.
@myfengstyle
补充了七牛sdk上传示例, 参考代码应该可以很快写出自己的demo.
from cfadmin.
Related Issues (20)
- sudo docker-compose -f docker-compose-with-cfadmin.yaml up 运行失败 HOT 4
- ubuntu build error HOT 4
- 自己编译和docker都不能正常运行 HOT 10
- 访问错误,出现不能继续正常工作的情况。 HOT 9
- 安全机制控制问题 HOT 2
- 文件上传只能小文件 HOT 15
- 域名访问 出现问题 HOT 19
- firefox 认证不正确 HOT 3
- 浏览器适配问题 HOT 5
- 请教个路由的问题 HOT 5
- Content-Type 最好能修改 HOT 34
- 关于多库,分权分域的问题 HOT 1
- 后台操作耗时,如何同步? HOT 11
- 升级后mysql连接错误 HOT 5
- 最新代码启动问题 HOT 5
- 目录结构有问题 HOT 1
- 经由cfadmin 后台启动的脚本 或程序 信号量被屏蔽了 HOT 23
- 发现一个稳定性的随机问题 HOT 5
- 建议httpd增加DELETE和PATCH动词的支持 HOT 1
- 大哥,AES_256_GCM加密可以用吗 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfadmin.