Browse Source

升级分期商品修改

kevin 1 year ago
parent
commit
96375cc504
1 changed files with 1 additions and 3 deletions
  1. 1 3
      frontendApi/modules/v1/controllers/UserController.php

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

@@ -391,9 +391,7 @@ class UserController extends BaseController {
         }
 
         // 如果等级已经是顶级 && 没有分期订单,则不查询商品
-        if ($stage == 100) {
-            $query_condition.= ") AND ((INSTALMENT = 0) OR (INSTALMENT = :INSTALMENT))";
-        } else if ($stage == 1000) {
+        if ($stage >= 1000) {
             $query_condition.= ") AND (INSTALMENT = :INSTALMENT)";
         } else {
             $query_condition.= ") AND ((INSTALMENT = 0) OR (INSTALMENT = :INSTALMENT))";