This commit is contained in:
mkm 2024-06-11 16:16:53 +08:00
commit e80caaed6b

View File

@ -160,7 +160,7 @@ class OrderLogic extends BaseLogic
//成本价 收益
$order = [
'create_time' => time(),
'order_id' => $params['order_id']?:getNewOrderId('PF'),
'order_id' => $params['order_id'] ?? getNewOrderId('PF'),
'total_price' => self::$total_price, //总价
'cost' => self::$cost, //成本价1-
'profit' => self::$profit, //利润