NASER change otp url
This commit is contained in:
@@ -86,7 +86,7 @@ class AuthController extends Controller
|
|||||||
$user->save();
|
$user->save();
|
||||||
|
|
||||||
// $this->SendMessage($mobile, 'رمز عبور یکبار مصرف شما جهت ورود به اپلیکشن ' . $this->Config('name_fa') . ' ' . $rand . ' می باشد' . PHP_EOL . "@$subDomain" . " #" . $r and,true ,"sms");
|
// $this->SendMessage($mobile, 'رمز عبور یکبار مصرف شما جهت ورود به اپلیکشن ' . $this->Config('name_fa') . ' ' . $rand . ' می باشد' . PHP_EOL . "@$subDomain" . " #" . $r and,true ,"sms");
|
||||||
$this->SendMessage($mobile, 'رمز عبور یکبار مصرف شما جهت ورود به اپلیکشن ' . $this->Config('name_fa') . ' ' . $rand . ' می باشد' . PHP_EOL . "@goldsun.zaarbox.ir" . " #" . $rand,true ,"sms");
|
$this->SendMessage($mobile, 'رمز عبور یکبار مصرف شما جهت ورود به اپلیکشن ' . $this->Config('name_fa') . ' ' . $rand . ' می باشد' . PHP_EOL . "@$subDomain" . " #" . $rand,true ,"sms");
|
||||||
|
|
||||||
return $user->id;
|
return $user->id;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ class BankAccountController extends SuperController
|
|||||||
$message .= $this->Config('name_fa');
|
$message .= $this->Config('name_fa');
|
||||||
|
|
||||||
User::where('active', 1) ->where('send_sms', 1)->get()->each(function($admin) use ($message) {
|
User::where('active', 1) ->where('send_sms', 1)->get()->each(function($admin) use ($message) {
|
||||||
// $this->Send($admin->mobile, $message);
|
$this->Send($admin->mobile, $message);
|
||||||
});
|
});
|
||||||
$data = $request->only(['account_number', 'bank_name', 'cart_number', 'shaba_number', 'customer_id']);
|
$data = $request->only(['account_number', 'bank_name', 'cart_number', 'shaba_number', 'customer_id']);
|
||||||
BankAccount::create($data);
|
BankAccount::create($data);
|
||||||
|
|||||||
Reference in New Issue
Block a user