shish 7 ay önce
ebeveyn
işleme
c95ee4d7bd

+ 1 - 1
app-ghs/controllers/ConsoleController.php

@@ -165,7 +165,7 @@ class ConsoleController extends BaseController
             }
         }
 
-        $notice[] = ['title' => '急事请连打二次客服电话 15280215347', 'action' => '', 'page' => ''];
+        //$notice[] = ['title' => '急事请连打二次客服电话 15280215347', 'action' => '', 'page' => ''];
         //$notice[] = ['title' => '新功能:客户端和后台使用跑腿的流程', 'action' => '', 'page' => '/admin/book/detail?id=use_pt'];
         //$notice[] = ['title' => '快速设置:客户下单自动计算跑腿费', 'action' => '查看', 'page' => '/admin/book/detail?id=auto_calc_pt_fee'];
         //$notice[] = ['title' => '订单上如何一键呼叫跑腿', 'action' => '查看', 'page' => '/admin/book/detail?id=one_call_pt'];

+ 1 - 1
console/controllers/ShopExtController.php

@@ -21,7 +21,7 @@ class ShopExtController extends Controller
         $query = new \yii\db\Query();
         $query->from(Shop::tableName());
 
-        foreach ($query->batch(6000) as $batch) {
+        foreach ($query->batch(1000) as $batch) {
             foreach ($batch as $shop) {
                 $mainId = $shop['mainId'] ?? 0;
                 $hasRecharge = RechargeSqClass::getByCondition(['mainId' => $mainId], true);