Commit 1c5d530a by 赵增煜

修数据

parent 3cd94799
......@@ -22,7 +22,7 @@ public function InquirytList(Request $request)
$drug_ids = $request->input('drug_ids');
Log::info('drug_ids=>'.$drug_ids);
if ($drug_ids) {
$tag_ids = DrugRelatedTagModel::whereIn('drug_id', explode(',', $drug_ids))->pluck('tag_id')->toArray();
$tag_ids = DrugRelatedTagModel::whereIn('drug_id', $drug_ids)->pluck('tag_id')->toArray();
Log::info('tag_ids=>'.$tag_ids);
// 获取标签关联的问题
if ($tag_ids) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment