Coder Social home page Coder Social logo

Comments (8)

CandyMi avatar CandyMi commented on June 7, 2024

@myfengstyle 能详细描述一下你想怎么做么?

from cfadmin.

myfengstyle avatar myfengstyle commented on June 7, 2024

后台图片上传

from cfadmin.

CandyMi avatar CandyMi commented on June 7, 2024

@myfengstyle

您应该描述一下使用上传到七牛云的OSS还是上传到本地.

  • 使用cloud.qiniu库的oss/tokenSDK生成token, 客户端拿token用form提交上传.
    内部有API使用说明, 参考SDK使用与七牛云的文档即可知道如何上传.

  • 本地上传可以直接用form提交. 使用logging可以打印content即看到上传文件内容.
    然后你可根据实际情况保存文件.

from cfadmin.

myfengstyle avatar myfengstyle commented on June 7, 2024

好的,刚学习lua,建议写个例子,用的比较多

from cfadmin.

CandyMi avatar CandyMi commented on June 7, 2024

感谢您的建议. :)

from cfadmin.

myfengstyle avatar myfengstyle commented on June 7, 2024

增加了吗

from cfadmin.

CandyMi avatar CandyMi commented on June 7, 2024

查看script/test_upload.lua

from cfadmin.

CandyMi avatar CandyMi commented on June 7, 2024

@myfengstyle
补充了七牛sdk上传示例, 参考代码应该可以很快写出自己的demo.

from cfadmin.

Related Issues (20)

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.