|
|
$data = $this->model->where("product_id",$param['goods'])->with(['poi' => function ($query) {
|
|
$data = $this->model->where("product_id",$param['goods'])->with(['poi' => function ($query) {
|
|
|
$query->field("poi_id,poi_name,poi_address,longitude,latitude,service_mobile,start_at,end_at,status");
|
|
$query->field("poi_id,poi_name,poi_address,longitude,latitude,service_mobile,start_at,end_at,status");
|
|
|
},'skuSpecs'])->append(['otherImg'])->withAttr(['otherImg' => function ($qu,$resp) {
|
|
},'skuSpecs'])->append(['otherImg'])->withAttr(['otherImg' => function ($qu,$resp) {
|