Code Monkey home page Code Monkey logo

Comments (2)

chelflan avatar chelflan commented on May 11, 2024

我看您的是使用七牛云,传图片过去就给你返回了一个网络地址。。没有使用过,请教请教

from nodejs-koa-blog.

lfb avatar lfb commented on May 11, 2024

我看您的是使用七牛云,传图片过去就给你返回了一个网络地址。。没有使用过,请教请教

是啊,我是使用七牛云的,你可以去七牛云申请一个储存空间。它上传的原理是:首先获取七牛的上传token,所以需要配置一下你申请的储存空间的key,然后上传时把上传的token和图片的数据发送过去后,七牛会返回一个图片的地址链接和图片key,把该key或者图片链接保存到数据库,就完成了。

from nodejs-koa-blog.

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.