|
|
@@ -327,18 +327,18 @@ class CustomController extends Controller
|
|
|
$transaction->rollBack();
|
|
|
continue;
|
|
|
}
|
|
|
- $has = ApplyClass::getByCondition(['mobile' => $mobile]);
|
|
|
- if (!empty($has)) {
|
|
|
- noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,在申请列表,手机号已经存在了哦", '15280215347');
|
|
|
- $transaction->rollBack();
|
|
|
- continue;
|
|
|
- }
|
|
|
$hasShop = ShopClass::getByCondition(['mobile' => $mobile]);
|
|
|
if (!empty($hasShop)) {
|
|
|
//noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,手机号已经存在了", '15280215347');
|
|
|
$transaction->rollBack();
|
|
|
continue;
|
|
|
}
|
|
|
+ $has = ApplyClass::getByCondition(['mobile' => $mobile]);
|
|
|
+ if (!empty($has)) {
|
|
|
+ noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,在申请列表,手机号已经存在了哦", '15280215347');
|
|
|
+ $transaction->rollBack();
|
|
|
+ continue;
|
|
|
+ }
|
|
|
$adminName = $post['adminName'] ?? '';
|
|
|
$miniOpenId = $post['miniOpenId'] ?? '';
|
|
|
$adminInfo = ['name' => $adminName, 'mobile' => $mobile, 'miniOpenId' => $miniOpenId];
|