正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -43,6 +43,7 @@ class AdminEquipmentController extends AdminBaseController{ | @@ -43,6 +43,7 @@ class AdminEquipmentController extends AdminBaseController{ | ||
43 | 43 | ||
44 | public function addPost(){ | 44 | public function addPost(){ |
45 | $data=$this->request->post(); | 45 | $data=$this->request->post(); |
46 | + $data['create_time']=strtotime($data['create_time']); | ||
46 | $Equipment=new EquipmentModel(); | 47 | $Equipment=new EquipmentModel(); |
47 | $res=$Equipment->save($data); | 48 | $res=$Equipment->save($data); |
48 | if ($res){ | 49 | if ($res){ |
-
请 注册 或 登录 后发表评论