|
@@ -141,13 +141,6 @@ class publisher
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public function modify_refill_channel()
|
|
|
- {
|
|
|
- if($this->mConnected) {
|
|
|
- $this->mRedis->publish('refill',serialize(['type'=>'channel','value' => 0]));
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
public function modify_activity()
|
|
|
{
|
|
|
$this->modify_activity_fullsent();
|
|
@@ -229,8 +222,18 @@ class publisher
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public function reinit_channel()
|
|
|
+ public function modify_refill_channel()
|
|
|
{
|
|
|
+ if($this->mConnected) {
|
|
|
+ $this->mRedis->publish('refill',serialize(['type'=>'channel','value' => 0]));
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
+ public function modify_refill_merchant()
|
|
|
+ {
|
|
|
+ if($this->mConnected) {
|
|
|
+ $this->mRedis->publish('refill',serialize(['type'=>'merchant_count','value' => 0]));
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|