...
代码块 | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"fields": [{
"key": "course_index",
"options": {
"onlyTc": false,
"after_process": "=function (info) {if(info.response.data.success){SCOPE.base_form.data.course_index = info.response.data.index + ',' + info.response.data.file_name;let course_format_arr=info.response.data.file_name.split('.');SCOPE.base_form.data.course_format =course_format_arr[course_format_arr.length-1];SCOPE.base_form.data.name = info.response.data.file_name;}}",
"uploadLocal": true,
"custom_api": {
"preview": "/img?index=",
"upload": "http://139.199.162.148:31961/upload_video?app_id=qewiproeqw&app_secret=dsafrqewireowq"
}
}
}]
} |
...