文件地址:app/controller/admin/v1/system/attachment/SystemAttachment.php
方法:videoUpload
修改代码:
$type = 1;
$relationId = 0;
if ($this->supplierId) {
$type = 4;
$relationId = (int)$this->supplierId;
}
$res = $this->service->videoUpload($data, $fileHandle, $type, $relationId);如图:

