How can tp3 directly access the pictures in the public directory in the address bar?

I save the generated QR code image in the public directory. The frontend request interface requires me to return this image address, but this image address does not exist. 404, is there any way to solve it?

clipboard.png

clipboard.png

Php
May.13,2021

this is an example of TP3.2 's image access.

if you cannot access it, you can print whether the value of _ _ PUBLIC__ points to the public directory

in the program.

generally defines a static path such as "_ _ STATIC__" to the "/ public/static" directory or any directory you need, and then can be used directly on all WEB pages. It's convenient.


just change a subdomain name. As for the lack of access to the domain name of the interface, I still don't understand

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-1b369ce-2b38f.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-1b369ce-2b38f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?