微擎site.php函数以及路由连接

任务1: 微擎模块设计: module.php

 

规则类: 会调用module.php 

 

manifest.xml中业务菜单对应的模块 

如果在site.php中没有相应的函数

比如 

/web/index.php?c=site&a=entry&m=shirley_redpacket&do=menu

如果在site.php中定义了如下函数,访问上面连接的时候回 打印出 dowebmenu

 

如果没有定义,默认定义在如下文件路径

 

先好好看文档别瞎研究

http://s.w7.cc/index.php?c=wiki&do=view&id=1&list=391

 

posted @ 2019-07-05 21:31  归一山人  阅读(475)  评论(0编辑  收藏  举报