sunxbiao преди 6 месеца
родител
ревизия
d9cf0d8ce4
променени са 3 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 1 1
      app/event.php
  2. 3 3
      app/traits/GongApiRequest.php
  3. 2 0
      crmeb/listens/AutoCancelGroupOrderListen.php

+ 1 - 1
app/event.php

@@ -19,7 +19,7 @@ return [
19
             \crmeb\listens\AutoUnLockBrokerageListen::class,//自动解冻佣金
19
             \crmeb\listens\AutoUnLockBrokerageListen::class,//自动解冻佣金
20
             \crmeb\listens\AutoSendPayOrderSmsListen::class,//查询10分钟内未支付的订单,发送短信提示用户
20
             \crmeb\listens\AutoSendPayOrderSmsListen::class,//查询10分钟内未支付的订单,发送短信提示用户
21
             \crmeb\listens\SyncSmsResultCodeListen::class,//查询短信发送记录后 api返回结果
21
             \crmeb\listens\SyncSmsResultCodeListen::class,//查询短信发送记录后 api返回结果
22
-            \crmeb\listens\SyncBroadcastStatusListen::class,
22
+            // \crmeb\listens\SyncBroadcastStatusListen::class,
23
             \crmeb\listens\ExcelFileDelListen::class,
23
             \crmeb\listens\ExcelFileDelListen::class,
24
 //            \crmeb\listens\RefundOrderAgreeListen::class,//商户自动处理退款订单期限(天)
24
 //            \crmeb\listens\RefundOrderAgreeListen::class,//商户自动处理退款订单期限(天)
25
             \crmeb\listens\SeckillTImeCheckListen::class,//自动检测秒杀结束失败
25
             \crmeb\listens\SeckillTImeCheckListen::class,//自动检测秒杀结束失败

+ 3 - 3
app/traits/GongApiRequest.php

@@ -633,9 +633,9 @@ trait GongApiRequest
633
             $data = strstr($data,'{');
633
             $data = strstr($data,'{');
634
         }
634
         }
635
         if ($url != 'https://www.douhuomall.com/api/category/get_list'){
635
         if ($url != 'https://www.douhuomall.com/api/category/get_list'){
636
-            log::info('供应链【'.$url.'】body:'.json_encode($postFields,JSON_UNESCAPED_UNICODE));
637
-            log::info('供应链【'.$url.'】headerArray:'.json_encode($header,JSON_UNESCAPED_UNICODE));
638
-            log::info('供应链【'.$url.'】data:'.$data);
636
+            // log::info('供应链【'.$url.'】body:'.json_encode($postFields,JSON_UNESCAPED_UNICODE));
637
+            // log::info('供应链【'.$url.'】headerArray:'.json_encode($header,JSON_UNESCAPED_UNICODE));
638
+            // log::info('供应链【'.$url.'】data:'.$data);
639
 //            Db::name("log")->insert(array('data'=>'供应链【'.$url.'】body:'.json_encode($postFields)));//日志记录
639
 //            Db::name("log")->insert(array('data'=>'供应链【'.$url.'】body:'.json_encode($postFields)));//日志记录
640
 //            Db::name("log")->insert(array('data'=>'供应链【'.$url.'】headerArray:'.json_encode($header)));//日志记录
640
 //            Db::name("log")->insert(array('data'=>'供应链【'.$url.'】headerArray:'.json_encode($header)));//日志记录
641
 //            Db::name("log")->insert(array('data'=>'供应链【'.$url.'】data:'.$data));//日志记录
641
 //            Db::name("log")->insert(array('data'=>'供应链【'.$url.'】data:'.$data));//日志记录

+ 2 - 0
crmeb/listens/AutoCancelGroupOrderListen.php

@@ -32,6 +32,7 @@ class AutoCancelGroupOrderListen implements ListenerInterface
32
                     $storeGroupOrderRepository->cancel($id);
32
                     $storeGroupOrderRepository->cancel($id);
33
                 } catch (\Exception $e) {
33
                 } catch (\Exception $e) {
34
                     Log::info('自动关闭订单失败' . var_export($id, 1));
34
                     Log::info('自动关闭订单失败' . var_export($id, 1));
35
+                    Log::info('自动关闭订单失败原因1' . $e->getMessage());
35
                 }
36
                 }
36
             }
37
             }
37
         });
38
         });
@@ -48,6 +49,7 @@ class AutoCancelGroupOrderListen implements ListenerInterface
48
                     }
49
                     }
49
                 } catch (\Exception $e) {
50
                 } catch (\Exception $e) {
50
                     Log::info('自动关闭订单失败' . var_export($id, 1));
51
                     Log::info('自动关闭订单失败' . var_export($id, 1));
52
+                    Log::info('自动关闭订单失败原因2' . $e->getMessage());
51
                 }
53
                 }
52
             }
54
             }
53
         });
55
         });