application/core/manage/logic/FileLogic.php
public function getUploadTypeSelect()
    {
        $upload_type = $this->getUploadDriver()->getUploadType();
        $upload_type_select = [];
        foreach ($upload_type as $co => $vo) {
            $upload_type_select[] = [
                'name' => $co,
                'value' => $co
            ];
        }
        return $upload_type_select;
    }
public function getUploadTypeSelect()
    {
        $upload_type = $this->getUploadDriver()->getUploadType();
        $upload_type_select = [];
        foreach ($upload_type as $co => $vo) {
            $upload_type_select[] = [
                'name' => $co,
                'value' => $co
            ];
        }
        return $upload_type_select;
    }
public function getUploadTypeSelect ( ) { $ upload_type = $ this -> getUploadDriver ( ) -> getUploadType ( ) ; $ upload_type_select = [ ] ; foreach ( $ upload_type as $ co => $ vo ) { $ upload_type_select [ ] = [ 'name' => $ co , 'value' => $ co ] ; } return $ upload_type_select ; }
上传类型选择

@return array
上传类型选择