| xqd
@@ -94,14 +94,14 @@ class Kuaishou extends BaseUniPlatform
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public function pushOrder($openid, $orderId): array
|
|
|
+ public function pushOrder($openid, $orderId, $createAt): array
|
|
|
{
|
|
|
$data = [
|
|
|
'app_id' => $this->appId,
|
|
|
'out_order_no' => $orderId,
|
|
|
'out_biz_order_no' => $orderId,
|
|
|
'open_id' => $openid,
|
|
|
- 'order_create_time' => (int)Carbon::now()->subDays(7)->getPreciseTimestamp(3),
|
|
|
+ 'order_create_time' => (int)Carbon::parse($createAt)->getPreciseTimestamp(3),
|
|
|
'order_status' => 2, // 支付成功
|
|
|
'order_path' => 'pages/my/consume',
|
|
|
'product_cover_img_id' => '5acfa29b90c8234ff41ede600cad6a9b715f38871eaf5973',
|