Commit f264353b authored by hujun's avatar hujun

add file

parent 3bf94893
<?php
/**
* Created by PhpStorm.
* User: HuJun
* Date: 2019/5/30
* Time: 10:11
*/
namespace app\index\controller;
use app\index\extend\Basic;
class OfficeManage extends Basic
{
}
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: HuJun
* Date: 2019/5/30
* Time: 9:57
*/
namespace app\index\service;
class OfficeService
{
}
\ No newline at end of file
<?php
namespace app\model;
use think\Db;
class OfficeGBuilding extends BaseModel
{
protected $table = 'office_g_building';
private $db_;
public function __construct($data = [])
{
parent::__construct($data);
$this->db_ = Db::name($this->table);
}
}
<?php
namespace app\model;
use think\Db;
class OfficeGRoom extends BaseModel
{
protected $table = 'office_g_room';
private $db_;
public function __construct($data = [])
{
parent::__construct($data);
$this->db_ = Db::name($this->table);
}
}
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