fix: improve h5 payment return flow
This commit is contained in:
@@ -88,7 +88,11 @@ class ShouqianbaConfigService
|
||||
return '';
|
||||
}
|
||||
|
||||
return $baseUrl . '/#/pages/order/detail?id=' . $orderId;
|
||||
$fallbackQuery = http_build_query([
|
||||
'sqb_return_order_id' => $orderId,
|
||||
], '', '&', PHP_QUERY_RFC3986);
|
||||
|
||||
return $baseUrl . '/?' . $fallbackQuery . '#/pages/order/detail?id=' . $orderId;
|
||||
}
|
||||
|
||||
public function miniProgramCallbackPath(int $orderId): string
|
||||
|
||||
Reference in New Issue
Block a user