Zhouzhendong 4 лет назад
Родитель
Сommit
220eef8fb5
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      app/Http/Controllers/TestController.php
  2. 2 2
      app/Services/LogisticService.php

+ 1 - 1
app/Http/Controllers/TestController.php

@@ -289,7 +289,7 @@ class TestController extends Controller
     public function test(Request $request)
     {
         $s = new LogisticService();
-        dd($s->assertExpressCompany("9765256177597"));
+        dd($s->assertExpressCompany("312087577032867"));
         dd(DB::connection("aliyunMysql")->select(DB::raw("select * from units limit 1")));
         $s = new LogisticService();
         $val = "integer";

+ 2 - 2
app/Services/LogisticService.php

@@ -180,12 +180,12 @@ class LogisticService implements UserFilter
                 [
                     "length" => 13,
                     "type"   => "numeric",
-                    "multiHeader"  => ["46","43","42","35","31"],
+                    "multiHeader"  => ["46","43","42","35"],
                 ],
                 [
                     "length" => 15,
                     "type"   => "numeric",
-                    "multiHeader"  => ["46","43"],
+                    "multiHeader"  => ["46","43","31"],
                 ],
             ], "京东" => [
                 [