ajun 5 anni fa
parent
commit
7c896cced7

+ 0 - 6
app/Http/Controllers/TestController.php

@@ -1319,12 +1319,6 @@ where (commodities.owner_id,commodity_barcodes.code) in (select commodities.owne
         }
     }
 
-    public function testMbStrPos()
-    {
-        $string = '天猫旗舰店';
-        dd((bool)mb_stristr('天猫旗舰店','天猫'));
-    }
-
     public function testOrderissue()
     {
         $orderIssue_unique = \App\OrderIssue::withTrashed()

+ 1 - 1
app/Services/OrderIssueService.php

@@ -361,7 +361,7 @@ class OrderIssueService
             app('LogService')->log(__METHOD__, __FUNCTION__, '创建问题件' . count($innerParams) . json_encode($innerParams));
             return true;
         } catch (\Exception $e) {
-            app('LogService')->log(__METHOD__, __FUNCTION__, '创建问题件 error' . count($innerParams) . json_encode($innerParams) . $e->getMessage() . $e->getTraceAsString());
+            app('LogService')->log(__METHOD__, __FUNCTION__, '创建问题件 error' . count($innerParams) . json_encode($innerParams) .json_encode($e->getMessage())  .json_encode($e->getTraceAsString())) ;
             return false;
         }
     }