询单转发
This commit is contained in:
@@ -78,13 +78,14 @@ class InquiryTransmitController extends BaseController
|
|||||||
'en-3-P-vdx' => $this->formHmtl2($config)
|
'en-3-P-vdx' => $this->formHmtl2($config)
|
||||||
};
|
};
|
||||||
|
|
||||||
return json([
|
return $this->success(['html' => $html], 'success');
|
||||||
'code' => 200,
|
// return json([
|
||||||
'data' => [
|
// 'code' => 200,
|
||||||
'html' => $html
|
// 'data' => [
|
||||||
],
|
// 'html' => $html
|
||||||
'message' => 'success'
|
// ],
|
||||||
]);
|
// 'message' => 'success'
|
||||||
|
// ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->method() == 'POST') {
|
if ($request->method() == 'POST') {
|
||||||
@@ -116,11 +117,12 @@ class InquiryTransmitController extends BaseController
|
|||||||
|
|
||||||
$this->emailHtml($edata);
|
$this->emailHtml($edata);
|
||||||
|
|
||||||
return json([
|
return $this->success([], 'Thank you for your message! We will contact with you soon.');
|
||||||
'code' => 200,
|
// return json([
|
||||||
'data' => [],
|
// 'code' => 200,
|
||||||
'message' => 'Thank you for your message! We will contact with you soon.'
|
// 'data' => [],
|
||||||
]);
|
// 'message' => 'Thank you for your message! We will contact with you soon.'
|
||||||
|
// ]);
|
||||||
}
|
}
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
Log::info('Data:'.date('Y-m-d H:i:s').':'.$th->getMessage().'|'.$th->getLine().'|'.$th->getFile());
|
Log::info('Data:'.date('Y-m-d H:i:s').':'.$th->getMessage().'|'.$th->getLine().'|'.$th->getFile());
|
||||||
|
|||||||
Reference in New Issue
Block a user