Giter Site home page Giter Site logo

Comments (3)

yaniswang avatar yaniswang commented on July 16, 2024

还没有试过用github做多人协作开发,你把改动的代码重新提交回来吧,我看看你改动了哪些代码。

from xheditor.

yaniswang avatar yaniswang commented on July 16, 2024

目前我们的回调参数里不仅仅只有URL,可以通过后端进行无限扩展的。
可以看一下DEMO08最后一个例子:http://dev.xheditor.com/source/demos/demo08.html
这个DEMO中就回传了以下信息:

[id: "1"
localname: "2.jpg"
url: "upload/day_120927/201209272046307043.jpg"]

还可以无限扩展,只需要在upload.php中加入更多信息。

from xheditor.

chekun avatar chekun commented on July 16, 2024

嗯,我又仔细看了一下,你提供了2种返回格式

{"err":"","msg":"200906030521128703.gif"}
{"err":"","msg":{"url":"200906030521128703.jpg","localfile":"test.jpg","id":"1"}}

第一种的时候就会arrMsg就只会是文件地址了
第二种就可以那样返回了
感谢老大,我没仔细看,嘿嘿。

from xheditor.

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.