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