only([ 'name', 'mobile', 'question', 'remark' ]); $data['question'] = arr2str($data['question']); $re = DB::table('h5')->insert($data); if ($re) { return $this->success(); } return $this->error('提交失败'); } }