|
@@ -1920,6 +1920,13 @@ class Consult extends Base
|
|
|
// $addr= GetAddr(json_encode($temp));
|
|
|
// $value['origin_addr'] = $addr;
|
|
|
// }
|
|
|
+ $good_info = Db::name('good_basic')
|
|
|
+ ->field('id,createrid,creater')
|
|
|
+ ->where('is_del',0)
|
|
|
+ ->where('spuCode',$value['spuCode'])
|
|
|
+ ->findOrEmpty();
|
|
|
+ $value['good_createrid']=$good_info['createrid']??$value['createrid'];
|
|
|
+ $value['good_creater']=$good_info['creater']??$value['creater'];
|
|
|
$data[] = $value;
|
|
|
}
|
|
|
return app_show(0,"获取成功",['count'=>$count,'list'=>$data]);
|