Sfoglia il codice sorgente

wesmiler 更新第5期更新代码合并

wesmiler 4 anni fa
parent
commit
8039bbbf72
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/api/controller/MarketController.php

+ 1 - 1
app/api/controller/MarketController.php

@@ -215,7 +215,7 @@ class MarketController extends MarketBaseController
                     showJson(1006,2040,['url'=> Wechat::makeRedirectUrl(url('/weixin/market/index','','',true))]);
                 } else if ($agentStatus == 2){
                     showJson(1006,2044,['url'=> Wechat::makeRedirectUrl(url('/weixin/page/custom','','',true))]);
-                }else if($agentStatus == -1){
+                }else if($agentStatus <= 0){
                     showJson(1006,2041,['url'=> Wechat::makeRedirectUrl(url('/weixin/page/custom','','',true))]);
                 }
             }