Browse Source

industry_product_id

master
李可松 4 years ago
parent
commit
21444fb81e
  1. 4
      app/Http/Controllers/IndustryProductWxpay.php

4
app/Http/Controllers/IndustryProductWxpay.php

@ -70,7 +70,7 @@ class IndustryProductWxpay
try { try {
//增加销量,库存在拍下时已经减了 //增加销量,库存在拍下时已经减了
IndustryProduct::query() IndustryProduct::query()
->where('id', $order->product_id)
->where('id', $order->industry_product_id)
->increment('sale', $order->num); ->increment('sale', $order->num);
$old_status = $order->status; $old_status = $order->status;
@ -123,7 +123,7 @@ class IndustryProductWxpay
$fail('Unknown error 2'); $fail('Unknown error 2');
}); });
} catch (InvalidSignException | Exception $e) { } catch (InvalidSignException | Exception $e) {
return 'error' . $e->getFile() . $e->getMessage() . $e->getLine();
return 'error';
} }
return $response; return $response;

Loading…
Cancel
Save