How to add a version number to the URL of the API interface?

problem description

Nginx configuration failed


Nginx
PHP7
Thinkphp5

I hope the final request is as follows:

  1. api.JhouShuai.com/3.0.0/ucenter/profile-> api.JhouShuai.com/V300/ucenter/profile

2.api.JhouShuai.com/3.0.1/ucenter/profile-> api.JhouShuai.com/V301/ucenter/profile

Jun.16,2022

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