6
0
Fork 0
release
李静 2022-02-28 13:33:36 +08:00
parent b3959d133b
commit 47526c74dc
2 changed files with 52 additions and 0 deletions

View File

@ -5,3 +5,6 @@ use Illuminate\Support\Facades\Route;
//快递100物流推送
Route::get('articles/{id}', [ArticleController::class, 'show']);
// 53 客服
Route::view('53kf', 'endpoint.kf.index');

View File

@ -0,0 +1,49 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title></title>
<script>
var arr = location.href.split("?");
arr.push("");
window.addEventListener("message", function (event) {
if (event.data.split(":")[0] == "tel_new") {
window.location.href = 'tel:' + event.data.split(":")[1];
} else {
window.top.postMessage(event.data, '*');
}
}, false);
</script>
</head>
<script>
var _53code = document.createElement("script");
_53code.src = "https://tb.53kf.com/code/code/bba10e62b32391cdefb75e35d59943237/1";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(_53code, s);
_53code.onload = _53code.onreadystatechange = function () {
if (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") {
var api = $53.createApi();
api.push('cmd', 'member');
api.push('id', '11');
api.push('name', 'rrrrrss');
api.push('phone', '15633333333');
api.query();
document.write("<frameset rows=\"*\" cols=\"*\" frameborder=\"no\" border=\"0\" framespacing=\"0\">");
var http_pro = (document.location.protocol == 'https:') ? 'https://' : 'http://';
document.write("<frame id='frame_a' src=\"" + http_pro + "tb.53kf.com/code/client/bba10e62b32391cdefb75e35d59943237/1?" + "\" title=\"mainFrame\" />");
document.write("</frameset>");
}
}
</script>
<noframes>
<body>
</body>
</noframes>
</html>