Przeglądaj źródła

客户添加失败问题

shish 3 lat temu
rodzic
commit
894566b5d8
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      console/controllers/CustomController.php

+ 3 - 3
console/controllers/CustomController.php

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