Ver Fonte

策略变更

Zhouzhendong há 4 anos atrás
pai
commit
220eef8fb5

+ 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"],
                 ],
             ], "京东" => [
                 [