Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
294 views
in Technique[技术] by (71.8m points)

thinkphp5中,模块URL格式问题

clipboard.png

讲道理访问app_extend模块中miaosha中的index方法
不是应该写成
www.tp5.com/app_extend/miaosha/index

这个为什么是
www.tp5.com/app_extend/miaosha.index
中间用 点 连接

帮助手册里面也没写清楚啊····


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

seo优化规则:越短越好。至于为什么是.那是框架代码定义的,看也没什么意义。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...