作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

cost

@@ -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){