| | |
| | | $this->success('获取成功',['list'=>$list]); |
| | | } |
| | | |
| | | /** |
| | | * 商品比价 |
| | | * |
| | | * @return void |
| | | */ |
| | | |
| | | public function compare_good(){ |
| | | $content = request()->param('content',''); |
| | | if (empty($content)) $this->error('内容不能为空'); |
| | | |
| | | $exclude_tb = request()->param('exclude_tb',0); |
| | | $exclude_jd = request()->param('exclude_jd',0); |
| | | $exclude_pdd = request()->param('exclude_pdd',0); |
| | | $exclude_dy = request()->param('exclude_dy',0); |
| | | $content = request()->param('content',''); |
| | | $content = request()->param('content',''); |
| | | $LogicSearch = new LogicSearch(); |
| | | $user = $this->auth->getUser(); |
| | | $common_relation_id = $user['common_relation_id']; |
| | | $info = $LogicSearch->compare_good($content,$common_relation_id); |
| | | $info = $LogicSearch->compare_good($content,$common_relation_id,$exclude_tb,$exclude_jd,$exclude_pdd,$exclude_dy); |
| | | $this->success('获取成功',['list'=>$info]); |
| | | |
| | | } |