{"id":5541,"date":"2026-03-16T00:30:02","date_gmt":"2026-03-15T16:30:02","guid":{"rendered":"http:\/\/5zkj.me\/mo_5541.html"},"modified":"2026-03-16T00:30:03","modified_gmt":"2026-03-15T16:30:03","slug":"%e5%b8%a6%e6%95%99%e7%a8%8b-%e4%b9%9d%e5%9b%bd%e6%96%b0%e7%89%88%e5%a4%9a%e8%af%ad%e8%a8%80%e4%ba%a4%e6%98%93%e6%89%80%e7%b3%bb%e7%bb%9f-%e5%90%88%e7%ba%a6%e6%9c%9f%e6%9d%83%e4%ba%a4%e6%98%93%e6%89%80","status":"publish","type":"post","link":"https:\/\/5zkj.me\/zh\/WhatsApp.5541.html","title":{"rendered":"\u5e26\u6559\u7a0b \u4e5d\u56fd\u65b0\u7248\u591a\u56fd\u7684\u8bed\u8a00\u4ea4\u6613\u6240\u7cfb\u7edf\/\u5408\u7ea6\u671f\u6743\u4ea4\u6613\u6240\/\u7406\u8d22\u8ba4\u8d2d\u77ff\u673a"},"content":{"rendered":"<p>\u6b64\u5957\u6e90\u7801\u8ddf\u5e02\u9762\u4e0a\u7684\u4ea4\u6613\u6240\u6bd4\u8f83\uff0c\u8fd9\u5957\u6e90\u7801\u7b97\u662f\u524d\u540e\u7aef\u90fd\u662f2025\u5e74\u65b0\u6b3e\u5f00\u53d1\u7684\u4e86<\/p>\n<p>\u524d\u540e\u7aef\u90fd\u662f\u5168\u5f00\u6e90\u7684\uff0c\u524d\u7aef\u5747\u4e3ahtml\u5f00\u53d1\uff0c\u540e\u7aef\u662fTP\u6846\u67b6 \u8fd9\u5957\u7cfb\u7edf\u529f\u80fd\u5f88\u5168\u4e86\uff0cui\u4e5f\u4e0d\u9519\uff0c\u767d\u5929\u9ed1\u591c<\/p>\n<p>12\u6708\u6e90\u7801\u8865\u5168\u9644\u5e26\u5b8c\u6574\u6559\u7a0b\u8bf4\u660e\uff0c\u975e\u5e02\u9762\u6b8b\u7f3a\u7248\u672c\uff0c\u5e02\u9762\u4e0a\u5f97\u90fd\u662f\u5c11\u6570\u636e\u5e93\u5c11\u6587\u4ef6\uff0c\u4e4b\u80fd\u6b63\u5e38\u642d\u5efa\u6ca1\u6cd5\u542f\u52a8K\u7ebf<br \/>\n\u6559\u7a0b\uff1a<\/p>\n<p>\u8981\u5b89\u88c5es,php\u7248\u672c\u75287.2\u7684<br \/>\nfileinfo\u548credis\u8981\u5b89\u88c5<br \/>\n\u5f00\u653e9200 2345 2348 1236\u7aef\u53e3<br \/>\n\u90a3\u4e2a\u542f\u52a8\u884c\u60c5\u7684\u811a\u672c\uff0c\u5728\u6839\u76ee\u5f55\u91cc\u7684init.sh<\/p>\n<p>\u4fee\u6539\u6570\u636e\u5e93 config\/database.php<\/p>\n<p>\u65b0\u5efa\u4fe9\u4e2a\u6570\u636e\u5e93\u5e76\u5bfc\u5165<\/p>\n<p>\u8fd0\u884c\u76ee\u5f55public \u4f2a\u9759\u6001thinkphp<\/p>\n<p>nginx\u7ad9\u70b9\u914d\u7f6e\u90a3\u91cc\u7684<br \/>\nlocation ~\/(wss|socket.io) {<br \/>\n# \u6b64\u5904\u6539\u4e3a socket.io \u540e\u7aef\u7684 ip \u548c\u7aef\u2f1d\u5373\u53ef<br \/>\nproxy_pass http:\/\/127.0.0.1:2348;<br \/>\nproxy_set_header Upgrade $http_upgrade; proxy_set_header Connection \u201cupgrade\u201d;<br \/>\nproxy_http_version 1.1;<br \/>\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\nproxy_set_header Host $host;<br \/>\n}<\/p>\n<p>\u5b89\u88c5es<\/p>\n<p>rpm \u2013import https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch<br \/>\nvi \/etc\/yum.repos.d\/elasticsearch.repo<\/p>\n<p>\u63d2\u5165\u4e0b\u9762\u4ee3\u7801<\/p>\n<p>[elasticsearch-7.x]<br \/>\nname=Elasticsearch repository for 7.x packages<br \/>\nbaseurl=https:\/\/artifacts.elastic.co\/packages\/7.x\/yum<br \/>\ngpgcheck=1<br \/>\ngpgkey=https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch<br \/>\nenabled=1<br \/>\nautorefresh=1<br \/>\ntype=rpm-md<\/p>\n<p>shift+\uff1a \u8f93\u5165wq\u56de\u8f66\u4fdd\u5b58<\/p>\n<p>5.\u5b89\u88c5<br \/>\nyum install elasticsearch<\/p>\n<p>6.\u542f\u52a8<\/p>\n<p>service elasticsearch start<\/p>\n<p>\u8fd9\u4e2a\u662f\u5b89\u88c5es\u7684<\/p>\n<p>\u4fee\u6539\u6587\u4ef6<br \/>\n\\\\static\\\\mobile\\\\js\\\\websocket.js<br \/>\n\/static\/index\/js\/websocket.js<\/p>\n<p>\u53c2\u8003\u4fee\u6539\u4fee\u6539<br \/>\nif(site_type == \u2018test\u2019){<br \/>\nvar SOCKET_URL = local_socket;<br \/>\n}else if(site_type == \u2018online\u2019){<br \/>\nvar SOCKET_URL = api_socket;<br \/>\nvar SOCKET_URL = \u2018wss:\/\/\u57df\u540d\/wss\/socket.io\u2019;<\/p>\n<p>}<\/p>\n<p>\u540e\u53f0\u7cfb\u7edf\u914d\u7f6e\u90a3\u91cc\uff0c\u8981\u914d\u7f6e\u4e00\u4e0b\u57df\u540d\u548cwss\u7684<\/p>\n<p>\u5c31\u53ea\u9700\u8981\u914d\u7f6e\u7ebf\u4e0a\u7684\u5c31\u53ef\u4ee5<\/p>\n<p>\u540e\u53f0\/fox admin 123456<br \/>\n\u81ea\u884c\u6362\u4e0b\u5bc6\u94a5\uff1aed696eb5bba1f7460585cc6975e6cf9bf24903dd<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-739\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045112-67d7aa4071223.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-740\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045113-67d7aa414e64f.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-741\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045113-67d7aa41c3ba7.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-742\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045113-67d7aa41dd31c.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-743\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045114-67d7aa42aeac2.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-744\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045115-67d7aa4392b7c.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-745\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045116-67d7aa444bed4.webp\" alt=\"\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-746\" src=\"http:\/\/5zkj.me\/wp-content\/uploads\/2025\/03\/20250317045116-67d7aa4465b01.webp\" alt=\"\" \/><\/p>\n<p>\u672c\u7ad9\u957f\u53ef\u63a5\u4e8c\u6b21\u5f00\u53d1<\/p>","protected":false},"excerpt":{"rendered":"<p>\u6b64\u5957\u6e90\u7801\u8ddf\u5e02\u9762\u4e0a\u7684\u4ea4\u6613\u6240\u6bd4\u8f83\uff0c\u8fd9\u5957\u6e90\u7801\u7b97\u662f\u524d\u540e\u7aef\u90fd\u662f2025\u5e74\u65b0\u6b3e\u5f00\u53d1\u7684\u4e86 \u524d\u540e\u7aef\u90fd\u662f\u5168\u5f00\u6e90\u7684\uff0c\u524d\u7aef\u5747\u4e3ahtm [&hellip;]<\/p>","protected":false},"author":1,"featured_media":5533,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"topic":[],"class_list":["post-5541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-line"],"_links":{"self":[{"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/posts\/5541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/comments?post=5541"}],"version-history":[{"count":1,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/posts\/5541\/revisions"}],"predecessor-version":[{"id":11688,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/posts\/5541\/revisions\/11688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/media\/5533"}],"wp:attachment":[{"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/media?parent=5541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/categories?post=5541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/tags?post=5541"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/5zkj.me\/zh\/wp-json\/wp\/v2\/topic?post=5541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}