thinkphp 5获取所有控制器的名称和方法
方法 /** *获取某个目录下的php文件名的函数 */ function getControllers($dir) { $pathList = glob($dir . '/*.php'); $res = []; foreach($path...
方法 /** *获取某个目录下的php文件名的函数 */ function getControllers($dir) { $pathList = glob($dir . '/*.php'); $res = []; foreach($path...
HTML: <select lay-filter="test"></select> JS: var form = layui.form(); form.on('select(test)', function(data...