diff --git a/docs/Login.md b/docs/Login.md new file mode 100644 index 0000000..825e82d --- /dev/null +++ b/docs/Login.md @@ -0,0 +1,12 @@ +# 用户登录 + + + +## 普通用户登录 + +http://localhost:9108/index.php?m=user&c=Users&a=login + + +## 管理员登录 + +http://localhost:9108/index.php?m=admin&c=Admin&a=login \ No newline at end of file diff --git a/docs/Project.md b/docs/Project.md new file mode 100644 index 0000000..ed13279 --- /dev/null +++ b/docs/Project.md @@ -0,0 +1,24 @@ + + + +# 原生应用/项目查询 + + +## 前端查询用户 + +### API 接口 + +src\application\api\controller\Ajax.php line:1130 + + +### 页面 + +src\template\pc\lists_guestbook_project.htm + + +## 后端管理用户 + +### 页面 + +- src\application\admin\template\project\users_index.htm +- src\application\admin\template\project\level_index.htm \ No newline at end of file diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/application/admin/template/project/level_index.htm b/src/application/admin/template/project/level_index.htm index c8cc6b1..28a2913 100644 --- a/src/application/admin/template/project/level_index.htm +++ b/src/application/admin/template/project/level_index.htm @@ -11,7 +11,7 @@
{eq name="'Project@users_index'|is_check_access" value="1"} {/eq} {eq name="'Project@level_index'|is_check_access" value="1"} diff --git a/src/application/admin/template/project/users_index.htm b/src/application/admin/template/project/users_index.htm index 2e5f7ca..a3176ca 100644 --- a/src/application/admin/template/project/users_index.htm +++ b/src/application/admin/template/project/users_index.htm @@ -11,7 +11,7 @@
{eq name="'Project@users_index'|is_check_access" value="1"} {/eq} {eq name="'Project@level_index'|is_check_access" value="1"} @@ -36,9 +36,9 @@
diff --git a/src/login.php b/src/login.php index 449de87..3aa619a 100644 --- a/src/login.php +++ b/src/login.php @@ -13,10 +13,9 @@ header("Content-type:text/html;charset=utf-8"); // [ 应用入口文件 ] if (extension_loaded('zlib')){ - try{ - ob_end_clean(); - } catch(Exception $e) { - + // 清除所有现有的输出缓冲区 + while (ob_get_level() > 0) { + @ob_end_clean(); } ob_start('ob_gzhandler'); } diff --git a/src/template/pc/lists_guestbook_project.htm b/src/template/pc/lists_guestbook_project.htm index 476fe89..333bad0 100644 --- a/src/template/pc/lists_guestbook_project.htm +++ b/src/template/pc/lists_guestbook_project.htm @@ -19,93 +19,199 @@ {eyou:static file="users/skin/js/global.js" /} @@ -116,167 +222,108 @@ {eyou:include file="layui.htm" /}
-
+
-
-
项目查询
- - -
- - +
+
+

原生应用查询

+ +
+ + +
+
+ + +
+ +
- -
- - + - {eyou:include file="footer.htm" /}