当前位置:网站首页>Solution to directory access of thinkphp6 multi-level controller
Solution to directory access of thinkphp6 multi-level controller
2022-06-28 13:17:00 【Life goes on and battles go on】
thinkphp6 Secondary controller directory access
tp6 Of controller Create a new folder under the directory , Without using routing How to visit , This paper mainly records the solutions to this problem .
Similar to this directory structure . Without using routing , Configure turn off routing .
The directory structure is as follows :

When routing access, it will api The directory acts as a controller :

Solution :
1. The first is to follow the official website , Define the route Controller definition · ThinkPHP6.0 Full development manual · Look at the clouds

effect :
The original

current

So we can visit :

边栏推荐
- 如何在熊市中寻找机会?
- CodeBlocks MinGW installation configuration problem
- Elastic box auto wrap demo
- 嵌入式开发:估算电池寿命的7个技巧
- 基于SSM实现水果蔬菜商城管理系统
- K3s one click installation script
- codeblocks mingw安装配置问题
- 专业英语历年题
- Go language learning notes - Gorm usage - database configuration, table addition | web framework gin (VII)
- ##测试bug常用“Redmine”
猜你喜欢

数启扬帆,智聚人才 | 腾讯云数据库 & CSDN 工程师能力轻量认证发布会重磅来袭!...

腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”

scratch旅行相册 电子学会图形化编程scratch等级考试一级真题和答案解析2022年6月

嵌入式开发:估算电池寿命的7个技巧

一文搞懂leveldb写操作

STM32F1与STM32CubeIDE编程实例-矩阵键盘驱动

如何在熊市中寻找机会?

Hubble数据库x某股份制商业银行:冠字号码管理系统升级,让每一张人民币都有 “身份证”

Writing skills of resume

How to find opportunities in a bear market?
随机推荐
K3s one click installation script
Centos7:切换mysql用户并登录mysql
Après avoir échoué à l'examen d'entrée à l'Université de technologie de Harbin, vous devez rester à l'Université en tant que « chercheur » après avoir obtenu votre diplôme.
4年用户数破亿,孙哥带领波场再创新高
1015.摘花生
深入理解贝叶斯定理
k3s一键安装脚本
Manjaro easyconnecy error: libgtk-x11-2.0 so. 0: cannot open shared object file: No such file or directory
PHP抓取网页获取特定信息
从pdb源码到frame帧对象
Hubble数据库x某股份制商业银行:冠字号码管理系统升级,让每一张人民币都有 “身份证”
The difference between align items and align content
Complete backpack beginner chapter "suggestions collection"
flex布局中的align-content属性
Centos6.5 php+mysql MySQL library not found
Fs7022 scheme series fs4059a dual two lithium battery series charging IC and protection IC
FH511+TP4333组成一个户外移动电源照明野营灯方案。
Here comes Wi Fi 7. How strong is it?
嵌入式开发:估算电池寿命的7个技巧
高考失利进哈工大,毕业却留校要当“探索者”,丁效:科研就是厚积薄发