public function actionAddStory() { $customer_id = $this->getParam('customer_id'); $title = $this->getParam('title'); $content = $this->getParam('content'); $story = new HiStory(); $story['title'] = $title; $story['content'] = $content; $story['customer_id'] = $customer_id; $story['insert_time'] = date('Y-m-d H:i:s', time()); $story->insert(); EchoUtility::echoMsgTF(true, '添加段子', $story); }