|
@@ -285,12 +285,12 @@ class Order extends Model
|
|
|
'flash_id' => $data['flash_id'] ?? 0, // 秒杀id
|
|
|
|
|
|
//追加
|
|
|
- 'user_product'=> $userId.'_'.$product['id'],
|
|
|
+ 'user_product'=> $userId.'_'.$product['id'],//为了提高group速度,合二为一
|
|
|
'pifa_number' => $product['pifa_number'],
|
|
|
'pifa_price' => $product['pifa_price'],
|
|
|
'pifa_shouyi' => $product['pifa_shouyi'],
|
|
|
'pifa_stock' => bcmul($product['pifa_number'],$numbers[$key],0),
|
|
|
-
|
|
|
+ 'pifa_status' => 0,//批发状态:0=在售,1=售出
|
|
|
];
|
|
|
|
|
|
if (!empty($specs[$key])) {
|