|
36 | 36 |
|
37 | 37 | //文件上传类型 |
38 | 38 | $uploadFileType = array( |
39 | | - 'rar' => 'img/ui/file_zip.png', |
40 | | - 'zip' => 'img/ui/file_zip.png', |
41 | | - '7z' => 'img/ui/file_zip.png', |
42 | | - 'jpeg' => 'img/ui/file_image.png', |
43 | | - 'jpg' => 'img/ui/file_image.png', |
44 | | - 'gif' => 'img/ui/file_image.png', |
45 | | - 'bmp' => 'img/ui/file_image.png', |
46 | | - 'png' => 'img/ui/file_image.png', |
47 | | - 'doc' => 'img/ui/file_word.png', |
48 | | - 'docx' => 'img/ui/file_word.png', |
49 | | - 'xls' => 'img/ui/file_excel.png', |
50 | | - 'xlsx' => 'img/ui/file_excel.png', |
51 | | - 'ppt' => 'img/ui/file_ppt.png', |
52 | | - 'pptx' => 'img/ui/file_ppt.png', |
53 | | - 'pdf' => 'img/ui/file_pdf.png', |
54 | | - 'wma' => 'img/ui/file_music.png', |
55 | | - 'mp3' => 'img/ui/file_music.png', |
56 | | - 'txt' => 'img/ui/file_txt.png' |
| 39 | + 'rar' => 'static/img/ui/file_zip.png', |
| 40 | + 'zip' => 'static/img/ui/file_zip.png', |
| 41 | + '7z' => 'static/img/ui/file_zip.png', |
| 42 | + 'jpeg' => 'static/img/ui/file_image.png', |
| 43 | + 'jpg' => 'static/img/ui/file_image.png', |
| 44 | + 'gif' => 'static/img/ui/file_image.png', |
| 45 | + 'bmp' => 'static/img/ui/file_image.png', |
| 46 | + 'png' => 'static/img/ui/file_image.png', |
| 47 | + 'doc' => 'static/img/ui/file_word.png', |
| 48 | + 'docx' => 'static/img/ui/file_word.png', |
| 49 | + 'xls' => 'static/img/ui/file_excel.png', |
| 50 | + 'xlsx' => 'static/img/ui/file_excel.png', |
| 51 | + 'ppt' => 'static/img/ui/file_ppt.png', |
| 52 | + 'pptx' => 'static/img/ui/file_ppt.png', |
| 53 | + 'pdf' => 'static/img/ui/file_pdf.png', |
| 54 | + 'wma' => 'static/img/ui/file_music.png', |
| 55 | + 'mp3' => 'static/img/ui/file_music.png', |
| 56 | + 'txt' => 'static/img/ui/file_txt.png' |
57 | 57 | ); |
58 | 58 | //单个文件上传大小,单位MB |
59 | 59 | $uploadFileSingleSize = 2; |
|
0 commit comments