Przeglądaj źródła

升级分期商品修改

kevin 1 rok temu
rodzic
commit
e77c8a2e4a

+ 2 - 1
frontendApi/modules/v1/controllers/UserController.php

@@ -366,6 +366,7 @@ class UserController extends BaseController {
             // 如果分期未完成,切已经升级到顶级,则商品列表只返回分期商品
             LoggerTool::debug(['step' => 1, '$isMax' => $isMax, '$stage' => $stage]);
             if ($isMax) {
+                LoggerTool::debug(['step' => 2, '$isMax' => $isMax, '$stage' => $stage]);
                 if (!$stage || ($stage >= $instalment)) {
                     $stage = 100;
                 } else {
@@ -375,7 +376,7 @@ class UserController extends BaseController {
                 $stage += 1;
             }
         }
-        LoggerTool::debug(['step' => 2, '$isMax' => $isMax, '$stage' => $stage]);
+        LoggerTool::debug(['step' => 3, '$isMax' => $isMax, '$stage' => $stage]);
 
         //所有自选商品
         $isDecReg = Cache::getSystemConfig()['isDecReg']['VALUE'];