stanley-king 2 年之前
父节点
当前提交
39611402ef
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 0
      helper/message/pubevent.php
  2. 2 1
      helper/message/publisher.php

+ 2 - 0
helper/message/pubevent.php

@@ -5,6 +5,7 @@ namespace message;
 require_once(BASE_HELPER_PATH . '/refill/policy/PolicyUtil.php');
 
 use refill;
+use Log;
 
 class pubevent
 {
@@ -66,6 +67,7 @@ class pubevent
 
         $result = $mch_configs();
         $val = json_encode($result);
+        Log::record("stat-merchant-mixed val = {$val}",Log::DEBUG);
         wkcachex('stat-merchant-mixed', $val, 'refill-');
     }
 }

+ 2 - 1
helper/message/publisher.php

@@ -228,7 +228,8 @@ class publisher
     public function modify_refill_channel()
     {
         Log::record(__METHOD__,Log::DEBUG);
-        if($this->mConnected) {
+        if($this->mConnected)
+        {
             $event = new pubevent();
             $event->onRefillBefore();