Tag: urlManager
-
Post Views: 30 1. Now the portal link to switch the role to Distributor is the background homepage:https://console.apply.local/?role=distributor 2. I hope that in this portal URL, all links are automatically added to the request parameter: role=distributor, which is not available now. as shown in Figure 1 3. Create a custom URLManager component Rewrite the CreateUrl method, and automatically attach the…
-
Post Views: 15 1. Please refer to the previous blog:https://www.shuijingwanwq.com/en/2016/11/26/10288/ 2. Prepare to implement RESTful web services based on shujujixi 3. Based on the GII generation model on the Frontend application, edit \environments\dev\frontend\config\main-local.php, as shown in Figure 1 4. Execute .\init in Windows PowerShell to overwrite \frontend\config\main-local.php, and set the IP allowed by GII, as shown in Figure 2 5.…