|
@@ -205,7 +205,7 @@ class DemandLabor extends Auth
|
|
|
}
|
|
|
$d = DataCollectionLog::mk()->where('uuid',$this->uuid)->where('type',$type)->where('link_id',$data['id'])->where('cate',1)->select();
|
|
|
// return json($d);
|
|
|
- if (DataCollectionLog::mk()->where('uuid',$this->uuid)->where('type',$type)->where('link_id',$data['id'])->delete()){
|
|
|
+ if (DataCollectionLog::mk()->where('uuid',$this->uuid)->where('type',$type)->where('link_id',$data['id'])->where('cate',1)->delete()){
|
|
|
$this->success('收藏成功');
|
|
|
}
|
|
|
$this->error('收藏失败');
|