shish 1 год назад
Родитель
Сommit
349875cdb5
2 измененных файлов с 4 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/TestController.php
  2. 3 0
      biz-hd/custom/classes/CustomClass.php

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

@@ -749,7 +749,7 @@ class TestController extends BaseController
         ];
         $response = $laResource->query($queryParams, 0);
         print_r($response);
-        //util::stop();
+        util::stop();
         if (isset($response['code']) && $response['code'] == 'BBS00000') {
 
             $connection = Yii::$app->db;

+ 3 - 0
biz-hd/custom/classes/CustomClass.php

@@ -313,6 +313,9 @@ class CustomClass extends BaseClass
         if (empty($shop)) {
             return false;
         }
+        if($shop->ptStyle == 2){
+            util::fail('有问题,批发店状态');
+        }
         $salt = stringUtil::charsShuffleLowerCase(8);
         $isNewCustom = 0;
         $userId = $user->id;