Przeglądaj źródła

fix refresh refill messge too many

stanley-king 3 lat temu
rodzic
commit
87a801edaa

+ 2 - 2
crontab/control/minutes.php

@@ -193,8 +193,8 @@ class minutesControl extends BaseCronControl
         $new = serialize($abilitys);
         if($new != $old) {
             wcache("refill_able" , ['data' => $new] , 'merchant-');
-            $publisher = new message\publisher();
-            $publisher->modify_refill_merchant();
+//            $publisher = new message\publisher();
+//            $publisher->modify_refill_merchant();
         }
     }
 

+ 2 - 2
mchsrv/control/merchant_info.php

@@ -47,8 +47,8 @@ class merchant_infoControl extends mbMerchantControl
         $merchant_info['time_out'] = intval($merchant_info['time_out'] / 60);
         $merchant_info['quality'] = intval($merchant_info['quality']);
 
-        $pub = new message\publisher();
-        $pub->modify_refill_merchant();
+//        $pub = new message\publisher();
+//        $pub->modify_refill_merchant();
 
         return self::outsuccess($merchant_info);
     }

+ 2 - 2
mobile/control/merchant_info.php

@@ -44,8 +44,8 @@ class merchant_infoControl extends mbMerchantControl
         $merchant_info['time_out'] = intval($merchant_info['time_out'] / 60);
         $merchant_info['quality'] = intval($merchant_info['quality']);
 
-        $pub = new message\publisher();
-        $pub->modify_refill_merchant();
+//        $pub = new message\publisher();
+//        $pub->modify_refill_merchant();
 
         return self::outsuccess($merchant_info);
     }