{% extends "view/admin/ext_admin.html" %} {% block extadmin %}
英文字母.比如 你的标识是biaoshi那么请求接口就是 /ext/attachment/adminfile/upload?type=biaoshi
默认为file,不需要留给留空
200字以内
开启后图片类型文件将添加水印
文件相对于服务器的路径,有默认值,不需要请留空
接口的类型
后台图片接口地址:/ext/attachment/adminfile/uploadpic?type=接口标识
后台文件接口地址:/ext/attachment/adminfile/upload?type=接口标识
前台图片接口地址:/ext/attachment/homefile/uploadpic?type=接口标识
前台文件接口地址:/ext/attachment/homefile/upload?type=接口标识
输入接口返回规则,必填 ,${id}图片id${url}图片地址,${name}图片名称,默认接口只返回 id
{%if data.id%} {%endif%}
{% endblock %}