(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b17a36fa"],{3940:function(t,e,n){"use strict";n.r(e);var i={name:"api",data:function(){return{columns3:[{title:"功能",width:100,key:"gongneng"},{title:"接口",width:400,key:"jiekou"}],data3:[{gongneng:"请求方式",jiekou:"POST"},{gongneng:"请求地址",jiekou:this.$store.state.serverHost+"/api/uploadbymail/"}],columns4:[{title:"参数名",width:130,key:"ming"},{title:"参数类型",width:130,key:"leixing"},{title:"参数说明",width:135,key:"shuoming"}],data4:[{ming:"file",leixing:"file",shuoming:"图像文件"},{ming:"mail",leixing:"String",shuoming:"账户的电子邮箱"},{ming:"pass",leixing:"String",shuoming:"账户的密码"}]}},mounted:function(){console.log("您所访问的页面不存在")},methods:{},components:{}},a=(n("b12e"),n("2877")),o=Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Layout",{staticStyle:{"margin-top":"50px",background:"#FFF"}},[n("Content",{style:{margin:"15px 20px 0",minHeight:"500px"}},[n("Card",{staticStyle:{width:"100%",margin:"10px auto","box-shadow":"rgba(0, 0, 0, 0.1) 0px 2px 3px 2px"},attrs:{bordered:!1}},[n("div",[n("p",{attrs:{slot:"title"},slot:"title"},[t._v("图像上传")]),n("p",{staticStyle:{color:"#cc2a5b"}},[t._v("上传头需要是Content-Type: multipart/form-data;")]),n("br"),n("Table",{attrs:{columns:t.columns3,data:t.data3}}),n("br"),n("Table",{attrs:{columns:t.columns4,data:t.data4}}),n("p",{staticStyle:{"font-size":"16px","margin-top":"20px","font-weight":"bold"}},[t._v("返回参数")]),n("code",{staticStyle:{height:"200px","margin-top":"10px","margin-left":"20px",display:"inline-block"}},[t._v(" //成功实例： "),n("p",[t._v("//code:状态码")]),n("p",[t._v("//msg:提示信息")]),n("p",[t._v("//delkey:删除图像的唯一ID")]),n("p",[t._v("//data:图像上传后的信息")]),n("p",[t._v("//name:图像名称")]),n("p",[t._v("//url:图像直链")]),n("br"),n("p",[t._v("{")]),n("p",[t._v('"code": "200",')]),n("p",[t._v('"info": "操作成功",')]),n("p",[t._v('"data": {')]),n("p",[t._v('"delkey": "xxxxx",')]),n("p",[t._v('"name": "admin/xxx.png",')]),n("p",[t._v('"url": "http://xxx.png"')]),n("p",[t._v("},")]),n("p",[t._v('"exceptions": null')]),n("p",[t._v("}")])]),n("br")],1)])],1),n("Footer",{staticClass:"layout-footer-center"},[t._v(t._s(this.$store.state.metaInfo.webname)+" © Control Panel")])],1)}),[],!1,null,null,null);e.default=o.exports},"87ed":function(t,e,n){},b12e:function(t,e,n){"use strict";n("87ed")}}]);