shish 3 éve
szülő
commit
256b9da3a4
1 módosított fájl, 0 hozzáadás és 6 törlés
  1. 0 6
      console/controllers/CustomController.php

+ 0 - 6
console/controllers/CustomController.php

@@ -175,12 +175,6 @@ class CustomController extends Controller
                     $transaction->rollBack();
                     continue;
                 }
-                $has = SjClass::getByCondition(['name' => $shopName]);
-                if (!empty($has)) {
-                    //noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,名称已经存在了哦", '15280215347');
-                    //$transaction->rollBack();
-                    //continue;
-                }
                 $has = ApplyClass::getByCondition(['mobile' => $mobile]);
                 if (!empty($has)) {
                     noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,手机号已经存在了哦", '15280215347');