UserService::getCurrentLoginUserId(), 'order_no' => OrderService::createOrderNo(), 'identity_id' => $identityInfo['identity_id'], 'order_type' => $identityInfo['type'], 'pay_price' => $identityInfo['price'], 'month' => $identityInfo['month'], 'platform' => getPlatform(), 'store_id' => self::$storeId, ]; return $this->save($data); } /** * 获取订单详情 (待付款状态) * @param string $orderNo 订单号 * @return array|null|static */ public static function getPayDetail(string $orderNo) { return self::detail(['order_no' => $orderNo]); } /** * @notes:编辑 * @param $data * @return bool * @author: wanghousheng */ public function edit($data): bool { return $this->save($data) !== false; } }