mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
标准化格式
This commit is contained in:
parent
37d95013db
commit
1440b4fd8a
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
use controller\BasicAdmin;
|
||||
@ -19,4 +20,4 @@ class Auth extends BasicAdmin {
|
||||
parent::_list($this->table);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@ class Config extends BasicAdmin {
|
||||
|
||||
public function index() {
|
||||
parent::_list($this->table);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -69,4 +69,4 @@ class Index extends BasicAdmin {
|
||||
return view();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
use controller\BasicAdmin;
|
||||
@ -13,7 +14,6 @@ use think\Db;
|
||||
*/
|
||||
class Login extends BasicAdmin {
|
||||
|
||||
|
||||
/**
|
||||
* 控制器基础方法
|
||||
*/
|
||||
@ -51,4 +51,5 @@ class Login extends BasicAdmin {
|
||||
session('user', null);
|
||||
$this->success('退出登录成功!', '@admin/login');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -127,7 +127,6 @@ class Menu extends BasicAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 添加菜单
|
||||
*/
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
use controller\BasicAdmin;
|
||||
@ -18,4 +19,4 @@ class Role extends BasicAdmin {
|
||||
parent::_list($this->table);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
use controller\BasicAdmin;
|
||||
@ -18,4 +19,4 @@ class User extends BasicAdmin {
|
||||
parent::_list($this->table);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -2,9 +2,8 @@
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class User extends Model {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -5,82 +5,82 @@
|
||||
<div class="col-sm-6">
|
||||
<table class="layui-table" lay-even lay-skin="nob">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center" colspan="2">系统信息</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-center" colspan="2">系统信息</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<table class="layui-table" lay-even lay-skin="nob">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center" colspan="2">产品团队</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-center" colspan="2">产品团队</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>产品名称</td>
|
||||
<td>Think.Admin</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>当前版本</td>
|
||||
<td>{:sysconf('app_version')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品设计及研发团队</td>
|
||||
<td>广州楚才信息科技有限公司</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>官方网址</td>
|
||||
<td>https://think.ctolog.com</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>官方QQ群</td>
|
||||
<td>
|
||||
<a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=ae25cf789dafbef62e50a980ffc31242f150bc61a61164458216dd98c411832a">
|
||||
<img src="http://pub.idqqimg.com/wpa/images/group.png" alt="PHP微信开发群 (SDK)">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BUG反馈</td>
|
||||
<td>https://github.com/zoujingli/Think.Admin/issues</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目地址</td>
|
||||
<td>https://github.com/zoujingli/Think.Admin</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品名称</td>
|
||||
<td>Think.Admin</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>当前版本</td>
|
||||
<td>{:sysconf('app_version')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品设计及研发团队</td>
|
||||
<td>广州楚才信息科技有限公司</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>官方网址</td>
|
||||
<td>https://think.ctolog.com</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>官方QQ群</td>
|
||||
<td>
|
||||
<a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=ae25cf789dafbef62e50a980ffc31242f150bc61a61164458216dd98c411832a">
|
||||
<img src="http://pub.idqqimg.com/wpa/images/group.png" alt="PHP微信开发群 (SDK)">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BUG反馈</td>
|
||||
<td>https://github.com/zoujingli/Think.Admin/issues</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目地址</td>
|
||||
<td>https://github.com/zoujingli/Think.Admin</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -4,8 +4,7 @@
|
||||
<link rel="stylesheet" href="__STATIC__/theme/default/css/login.css">
|
||||
{/block}
|
||||
|
||||
{block name="bodyTag"}
|
||||
<body>
|
||||
{block name="body"}
|
||||
<div class="login-container" style="height:100%">
|
||||
|
||||
<div class="clouds clouds-footer"></div>
|
||||
@ -72,6 +71,9 @@
|
||||
</div>
|
||||
<div class="footer">{:sysconf('site_company')} © {:date('Y')}</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="script"}
|
||||
<script>
|
||||
require(['jquery'], function ($) {
|
||||
$('[name="password"]').on('focus', function () {
|
||||
@ -83,5 +85,4 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
{/block}
|
@ -9,9 +9,7 @@
|
||||
<th class='list-table-check-td'>
|
||||
<input data-none-auto="" data-check-target='.list-check-box' type='checkbox'/>
|
||||
</th>
|
||||
<th class='list-table-sort-td'>
|
||||
<button>排序</button>
|
||||
</th>
|
||||
<th class='list-table-sort-td'><button>排序</button></th>
|
||||
<th class='text-center'></th>
|
||||
<th>菜单名称</th>
|
||||
<th>链接</th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user