基础功能

This commit is contained in:
wuyanwen
2019-12-06 08:24:07 +08:00
parent 6b4dd70752
commit 397c8bb7f7
614 changed files with 57215 additions and 216 deletions

View File

@@ -1,22 +0,0 @@
<?php
/**
* 模块 view path
*
*/
use think\helper\Arr;
if (!function_exists('getModuleViewPath()')) {
function getModuleViewPath($module) {
if (file_exists($views = app()->getRuntimePath() . 'module' . DIRECTORY_SEPARATOR . 'view.php')) {
$views = include $views;
return $views[$module];
} else {
}
return '';
}
}