@@ -179,7 +179,7 @@ class Index extends Api
];
//查询记录是否存在
- $bool = db()->name('gather_txt_gcms')->where('gather_time',$res['gather_time'])->find();
+ $bool = db()->name('gather_txt_gcms')->where('data_txt_name',$res['data_txt_name'])->find();
if($bool){
return '已存在';
}