<small>
<a title="新增用户" class="btn btn-success" href="{:url('/auth/add')}">
<i class="fas fa-plus mr-2"></i>
新增
</a>
<a title="查看列表" class="btn btn-primary" href="{:url('/auth/index')}">
<i class="fas fa-list-alt mr-2"></i>
列表
</a>
</small>
<!-- 位置 -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<!-- 位置结束 -->
ajax: {
url: "/Auth/index",
type: "POST",
update users set update_time = create_time
$data = [
'uname' => input('post.uname'),
'pwd' => password_hash( input('post.pwd'),PASSWORD_BCRYPT),
'status' => intval(input('post.status')),
'login_ip' => request()->ip(),
'create_time' => time(),
'update_time' => time(),
];