This commit is contained in:
Your Name
2026-05-14 15:34:28 +08:00
parent e1df584ed5
commit e35696e153
6 changed files with 266 additions and 63 deletions
@@ -392,7 +392,7 @@ class GancaoCallbackController extends BaseApiController
$nu = (string) ($ext['nu'] ?? '');
$supplier = (string) ($ext['supplier'] ?? '');
if ($nu !== '') {
if ($nu !== '' && trim((string) ($order->tracking_number ?? '')) === '') {
$order->tracking_number = mb_substr($nu, 0, 80);
}
if ($shippingName !== '') {