stanley-king 3 years ago
parent
commit
77ab2032c1
2 changed files with 3 additions and 3 deletions
  1. 1 1
      helper/queue/iqueue.php
  2. 2 2
      mobile/control/refill.php

+ 1 - 1
helper/queue/iqueue.php

@@ -98,7 +98,7 @@ class IQueueDB
                 $ret = $this->_redis->lPush($this->_queue_name, $value);
                 Log::record("IQueueDB::lpush ret={$ret}", Log::DEBUG);
                 return $ret;
-            } else{
+            } else {
                 Log::record("IQueueDB::lpush connect=false", Log::DEBUG);
                 return false;
             }

+ 2 - 2
mobile/control/refill.php

@@ -118,10 +118,10 @@ class refillControl extends merchantControl
         $mchid = $this->mchid();
         if ($state === true) {
             refill\util::push_queue_order($this->mchid(),$mch_order,ORDER_STATE_QUEUE);
-            Log::record("refill::util::push_add success mchid={$mchid} mch_order={$mch_order}state={$state}",Log::DEBUG);
+            Log::record("refill::util::push_add success mchid={$mchid} mch_order={$mch_order} state={$state}",Log::DEBUG);
             return self::outsuccess(['state' => true]);
         } else {
-            Log::record("refill::util::push_add error mchid={$mchid} mch_order={$mch_order}state={$state}",Log::DEBUG);
+            Log::record("refill::util::push_add error mchid={$mchid} mch_order={$mch_order} state={$state}",Log::DEBUG);
             return self::outerr(208, '提交失败');
         }
     }