ThinkPHP3.23 Why is Uploads parsed as a module?

there is a Uploads directory under the root directory, which can be correctly identified by accessing the image files through url, but non-image files will prompt that the Uploads controller does not exist, what?? What logic?

xxxxx.com/Uploads/projects/201812/01/5c0183497e274.jpg in this way, you can get the picture normally
, but if it is xxxxx.com/Uploads/projects/201812/01/5c0183497e274.docx , it will indicate that the controller cannot be loaded. I just hope that I can click this link to download the file.

ide2266" alt="" title="">

Jan.02,2022

because thinkphp requires that all URI request parameters be requested to index.php, when you request an image, TP will parse it to the same directory as the image, but other files will not. You can write a class or controller to download

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34a14-2bf43.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34a14-2bf43.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?