|
...
|
...
|
@@ -25,7 +25,7 @@ class Comment extends Common |
|
|
|
|
|
|
|
public function addcommit(){
|
|
|
|
if(Request::isAjax()){
|
|
|
|
echo 1;die;
|
|
|
|
return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$array['data'],'rel'=>1];#
|
|
|
|
$data = Request::except('file');
|
|
|
|
$key= input('post.key') ? input('post.key') : "";
|
|
|
|
|
|
...
|
...
|
@@ -34,7 +34,7 @@ class Comment extends Common |
|
|
|
//获取运营人员列表
|
|
|
|
$list= file_get_contents(ON_LINE.'App.Agent.GetAgentList'.$limit);
|
|
|
|
$array = json_decode($list,TRUE);
|
|
|
|
return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'rel'=>1];#'count'=>$array['data'][0]['total']
|
|
|
|
'count'=>$array['data'][0]['total']
|
|
|
|
}
|
|
|
|
return $this->fetch();
|
|
|
|
}
|
...
|
...
|
|