This commit is contained in:
mkm 2023-11-10 10:19:29 +08:00
parent 59f75029e5
commit 6d5046b4e8
2 changed files with 2 additions and 1 deletions

View File

@ -1719,7 +1719,7 @@ class ProductRepository extends BaseRepository
]
], $product['mer_id']);
if($data['status']==1){
$this->switchShow($id,1,'is_used',0);
$this->switchShow($product['product_id'],1,'is_used',0);
}
}

View File

@ -306,6 +306,7 @@ class MerchantRepository extends BaseRepository
'lat' => (float)$data[0],
'long' => (float)$data[1],
];
$where['order'] = 'location';
}
}
if ($where['keyword'] !== '') {