|
@@ -128,7 +128,7 @@ class School extends Controller
|
|
|
public function info()
|
|
|
{
|
|
|
$id = $this->request->get('id');
|
|
|
- $name = Db::name($this->table)->where('id',$id)->value('name');
|
|
|
+ $name = \think\facade\Db::name($this->table)->where('id',$id)->value('name');
|
|
|
$this->title = $name.'--详情';
|
|
|
$this->_form($this->table);
|
|
|
}
|