企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~ <form action="http://test.zhichangbb.com/user/Asset/upload_file" enctype="multipart/form-data" method="post"> <input type="file" name="file" /> <br> <input type="submit" value="上传" /> </form> ~~~ 注意这个不带api/ * * * * * ~~~[api] post:/user/Asset/upload_file *string:file=默认值#file <<< success { "code": 1, "msg": "上传成功!", "data": { "filepath": "20171014/9df2949ad9aa58bfd298e1fafc2b6690.png", "name": "f0a64566473f1cae26828d6251b40ec7.png", "id": null, "preview_url": "http://oxsx110jp.bkt.clouddn.com/20171014/9df2949ad9aa58bfd298e1fafc2b6690.png!watermark", "url": "http://oxsx110jp.bkt.clouddn.com/20171014/9df2949ad9aa58bfd298e1fafc2b6690.png!watermark" } } <<< error ~~~