|
|
@@ -325,13 +325,13 @@ class CustomController extends Controller
|
|
|
}
|
|
|
$has = ApplyClass::getByCondition(['mobile' => $mobile]);
|
|
|
if (!empty($has)) {
|
|
|
- //noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,手机号已经存在了哦", '15280215347');
|
|
|
+ noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,手机号已经存在了哦", '15280215347');
|
|
|
$transaction->rollBack();
|
|
|
continue;
|
|
|
}
|
|
|
$hasShop = ShopClass::getByCondition(['mobile' => $mobile]);
|
|
|
if (!empty($hasShop)) {
|
|
|
- //noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,手机号已经存在了", '15280215347');
|
|
|
+ noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,手机号已经存在了", '15280215347');
|
|
|
$transaction->rollBack();
|
|
|
continue;
|
|
|
}
|
|
|
@@ -357,7 +357,7 @@ class CustomController extends Controller
|
|
|
$transaction->commit();
|
|
|
//只要手动添加的都标记为花店,任何情况都不会标记为散客
|
|
|
CustomClass::updateByCondition(['mobile' => $mobile], ['isHd' => 1]);
|
|
|
- //noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 由批发商添加成功");
|
|
|
+ noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 由批发商添加成功");
|
|
|
} catch (\Exception $exception) {
|
|
|
$transaction->rollBack();
|
|
|
noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,原因:" . $exception->getMessage(), '15280215347');
|