|
|
@ -81,7 +81,7 @@ class User extends Backend |
|
|
|
if ($this->request->isPost()){ |
|
|
|
if ($this->request->isPost()){ |
|
|
|
$params = $this->request->post("row/a"); |
|
|
|
$params = $this->request->post("row/a"); |
|
|
|
$params['updatetime'] = time(); |
|
|
|
$params['updatetime'] = time(); |
|
|
|
$params['deadline'] = strtotime($params['deadline']) < 0 ? 0 : strtotime($params['deadline']); |
|
|
|
$params['deadline'] = 0;//strtotime($params['deadline']) < 0 ? 0 : strtotime($params['deadline']); |
|
|
|
// var_dump($params); |
|
|
|
// var_dump($params); |
|
|
|
// exit(); |
|
|
|
// exit(); |
|
|
|
$ret = $this->model->update($params, ['id'=>$ids]); |
|
|
|
$ret = $this->model->update($params, ['id'=>$ids]); |
|
|
|