Sfoglia il codice sorgente

师傅入驻场景值

whitefang 1 anno fa
parent
commit
edbf731653
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app/api/logic/SmsLogic.php

+ 2 - 1
app/api/logic/SmsLogic.php

@@ -16,6 +16,7 @@ namespace app\api\logic;
 
 use app\common\enum\notice\NoticeEnum;
 use app\common\logic\BaseLogic;
+use think\facade\Log;
 
 
 /**
@@ -40,7 +41,7 @@ class SmsLogic extends BaseLogic
             if (empty($scene)) {
                 throw new \Exception('场景值异常');
             }
-
+            Log::write($scene);
             $result = event('Notice',  [
                 'scene_id' => $scene,
                 'params' => [