API work
This commit is contained in:
parent
32595ab5a1
commit
13fb2cfe98
70 changed files with 3614 additions and 401 deletions
|
|
@ -82,11 +82,11 @@ class ContactController extends Controller
|
|||
}
|
||||
|
||||
|
||||
$checkout_mail = config('app.contact_mail');
|
||||
$contact_mail = config('app.contact_mail');
|
||||
if($user_shop){
|
||||
Mail::to($contact['email'])->bcc([$user_shop->user->email, $checkout_mail])->send(new MailContact($contact));
|
||||
Mail::to($contact['email'])->bcc([$user_shop->user->email, $contact_mail])->send(new MailContact($contact));
|
||||
}else{
|
||||
Mail::to($contact['email'])->bcc($checkout_mail)->send(new MailContact($contact));
|
||||
Mail::to($contact['email'])->bcc($contact_mail)->send(new MailContact($contact));
|
||||
}
|
||||
|
||||
$data = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue