...
|
...
|
@@ -214,6 +214,7 @@ class Teacher extends Api |
|
|
$param['before'] = str_replace($http, '', $param['before']);
|
|
|
$param['behind'] = str_replace($http, '', $param['behind']);
|
|
|
$param['thumbnail'] = str_replace($http, '', $param['thumbnail']);
|
|
|
$param['status'] = 0;
|
|
|
$param['updatetime'] = time();
|
|
|
$data = Db::name('teacher')->where('id',$param['id'])->update($param);
|
|
|
if (empty($data)) {
|
...
|
...
|
|