...
|
...
|
@@ -293,8 +293,10 @@ class Teacher extends Api |
|
|
$this->error('缺少必要参数');
|
|
|
}
|
|
|
$data = Db::name('territory')
|
|
|
->field('createtime,updatetime,user_id',true)
|
|
|
->where('id',$id)
|
|
|
->alias('a')
|
|
|
->join('contype b','a.contype_id = b.id')
|
|
|
->field('a.id,a.money,a.content,b.title')
|
|
|
->where('a.id',$id)
|
|
|
->find();
|
|
|
$this->success('success',$data);
|
|
|
}
|
...
|
...
|
|