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

 

规则类: 会调用module.php 

 

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

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

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

比如 

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

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

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

 

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

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

 

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

先好好看文档别瞎研究

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

 

相关文章:

  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-12-15
  • 2021-05-27
  • 2021-07-21
  • 2021-09-10
相关资源
相似解决方案