|
|
@@ -785,6 +785,7 @@ class ProductClass extends BaseClass
|
|
|
public static function updateProduct($data, $shop)
|
|
|
{
|
|
|
$id = $data['id'] ?? 0;
|
|
|
+ $adminId = $data['adminId'] ?? 0;
|
|
|
$sjId = $shop->sjId ?? 0;
|
|
|
$shopId = $shop->id ?? 0;
|
|
|
$mainId = $shop->mainId ?? 0;
|
|
|
@@ -908,7 +909,6 @@ class ProductClass extends BaseClass
|
|
|
|
|
|
$staffId = $data['staffId'] ?? 0;
|
|
|
$staffName = $data['staffName'] ?? '';
|
|
|
- $adminId = $data['adminId'] ?? 0;
|
|
|
$changeParams = ['staffId' => $staffId, 'staffName' => $staffName];
|
|
|
|
|
|
if ($price != $product->price) {
|