Commit 00ca5331 authored by hujun's avatar hujun

模型修改

parent 81f989bf
...@@ -13,15 +13,19 @@ return [ ...@@ -13,15 +13,19 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => '101.132.186.250', // 'hostname' => '101.132.186.250',
'hostname' => '127.0.0.1',
// 数据库名 // 数据库名
'database' => 'db_tongliandichan', 'database' => 'db_tongliandichan',
// 用户名 // 用户名
'username' => 'tldc_online', // 'username' => 'tldc_online',
'username' => 'root',
// 密码 // 密码
'password' => 'Fujuhaofang123', // 'password' => 'Fujuhaofang123',
'password' => '123456',
// 端口 // 端口
'hostport' => '3308', // 'hostport' => '3308',
'hostport' => '',
// 连接dsn // 连接dsn
'dsn' => '', 'dsn' => '',
// 数据库连接参数 // 数据库连接参数
......
<?php <?php
// 权限模型 // 权限模型
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2017 http://www.eacoo123.com, All rights reserved.
// +----------------------------------------------------------------------
// | [EacooPHP] 并不是自由软件,可免费使用,未经许可不能去掉EacooPHP相关版权。
// | 禁止在EacooPHP整体或任何部分基础上发展任何派生、修改或第三方版本用于重新分发
// +----------------------------------------------------------------------
// | Author: 心云间、凝听 <981248356@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\model; namespace app\admin\model;
use app\common\model\Base; use think\Model;
class AuthGroupAccess extends Base class AuthGroupAccess extends Base
{ {
......
<?php <?php
// 权限规则模型 //权限规则模型
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2017 http://www.eacoo123.com, All rights reserved.
// +----------------------------------------------------------------------
// | [EacooPHP] 并不是自由软件,可免费使用,未经许可不能去掉EacooPHP相关版权。
// | 禁止在EacooPHP整体或任何部分基础上发展任何派生、修改或第三方版本用于重新分发
// +----------------------------------------------------------------------
// | Author: 心云间、凝听 <981248356@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\model;
use app\common\model\Base; namespace app\model;
class AuthRule extends Base use think\Model;
class AuthRule extends Model
{ {
// 设置完整的数据表(包含前缀) // 设置完整的数据表(包含前缀)
// protected $table = 'think_access'; // protected $table = 'think_access';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment