关于在fastadmin后台AJAX上传图片或者视频增加额外参数的办法
后台的AJAX上传 封装的上传函数 想不同的功能上传到不同的文件夹 所以需要在添加或者编辑页面增加额外的参数 告诉upload函数 直接来吧 1 add.html <form id= " add-form " class = " form-horizontal " role= " form " data-toggle= " validator " method= " POST " action= "" > <div class = " form-group " > <label class = " control-label col-xs-12 col-sm-2 " >{:__( ' Coursename ' )}:</label> <div class = " col-xs-12 col-sm-8 " > <input id= " c-act_name " class = " form-control " name= " row[course_name] " type= " text " value= "" > </div> </div> <div class = " form-group " > <label class = " control-label col-xs-12 col-sm-2 " >{:__( ' Chapter ' )}:</label> <div