|
@@ -548,11 +548,12 @@ class GoodsService
|
|
|
// 根据goods_id 查详情ID
|
|
|
$detail = GoodsRunning::where('join_running_goods_id', $params['goods_id'])->first();
|
|
|
if ($detail) {
|
|
|
- self::doUpdate($detail->goods_running_id, $data, new GoodsRunning());
|
|
|
+ self::doUpdate($detail->join_running_goods_id, $data, new GoodsRunning());
|
|
|
}
|
|
|
} catch (BusinessException $e) {
|
|
|
throw new BusinessException($e->getMessage());
|
|
|
} catch (\Exception $e) {
|
|
|
+ dump($e->getMessage());
|
|
|
throw new BusinessException('数据更新异常~4');
|
|
|
}
|
|
|
}
|