|
|
@@ -105,7 +105,7 @@ class Index extends Controller
|
|
|
}//endindex()
|
|
|
|
|
|
/**
|
|
|
- * 主页管理
|
|
|
+ * 用户留言
|
|
|
*
|
|
|
* @access public
|
|
|
* @return array JsonString
|
|
|
@@ -142,6 +142,8 @@ class Index extends Controller
|
|
|
];
|
|
|
return json_encode($result);
|
|
|
}//end if
|
|
|
+
|
|
|
+ $data['message_addtime'] = time();
|
|
|
$getAddId = model('Message')->addMessage($data);
|
|
|
if (empty($getAddId) === false) {
|
|
|
$result = [
|