UserService::getCurrentLoginUserId(), 'order_no' => OrderService::createOrderNo(), 'store_id' => self::$storeId, ]; $data = array_merge($arr, $data); return $this->save($data); } /** * 获取订单详情 (待付款状态) * @param string $orderNo 订单号 * @return \app\common\model\wholesaler\Order|array|null */ public static function getPayDetail(string $orderNo) { return self::detail(['order_no' => $orderNo]); } }