lqmac 1 year ago
parent 648b27a6a1
commit 1ceb502d5d
  1. 2
      application/admin/controller/user/User.php

@ -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]);

Loading…
Cancel
Save