{"id":18878,"date":"2025-01-07T16:46:35","date_gmt":"2025-01-07T08:46:35","guid":{"rendered":"https:\/\/mnya.tw\/cc\/?p=18878"},"modified":"2025-01-07T16:46:35","modified_gmt":"2025-01-07T08:46:35","slug":"2372","status":"publish","type":"post","link":"https:\/\/mnya.tw\/cc\/word\/2372.html","title":{"rendered":"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668"},"content":{"rendered":"<p data-pm-slice=\"0 0 []\"><strong>LINE Py Webhook<\/strong> \u662f\u6211\u5c08\u70ba LINE Messaging API \u8a2d\u8a08\u7684 Webhook \u4f3a\u670d\u5668\u7bc4\u4f8b\uff0c\u5229\u7528 Python \u8207 Flask \u6846\u67b6\u5be6\u73fe\u5feb\u901f\u958b\u767c\uff0c\u4e26\u7d50\u5408 Docker Compose \u4ee5\u7c21\u5316\u90e8\u7f72\u6d41\u7a0b\u3002\u6b64\u5c08\u6848\u7684\u4e3b\u8981\u529f\u80fd\u662f\u8655\u7406 LINE \u5b98\u65b9\u5e33\u865f\u7684\u8a0a\u606f\u4e92\u52d5\uff0c\u7576\u4f7f\u7528\u8005\u50b3\u9001\u8a0a\u606f\u6642\uff0c\u4f3a\u670d\u5668\u6703\u81ea\u52d5\u56de\u61c9 \"\u60a8\u8aaa\u4e86\uff1a+ \u4f7f\u7528\u8005\u50b3\u9001\u7684\u5167\u5bb9\"\uff0c\u85c9\u6b64\u63d0\u4f9b\u5373\u6642\u7684\u96d9\u5411\u901a\u8a0a\u9ad4\u9a57\u3002\u503c\u5f97\u4e00\u63d0\u7684\u662f\uff0c\u672c\u7bc4\u4f8b\u63a1\u7528\u4e86 Reply API \u7684\u56de\u8986\u65b9\u5f0f\uff0c\u4e0d\u6703\u8a08\u5165\u50b3\u8a0a\u91cf\u8cbb\u7528\uff0c\u9069\u5408\u9032\u884c\u6e2c\u8a66\u6216\u958b\u767c\u7528\u9014\u3002\u70ba\u4e86\u78ba\u4fdd\u670d\u52d9\u7a69\u5b9a\u6027\u8207\u5b89\u5168\u6027\uff0c\u5efa\u8b70\u5728\u96f2\u7aef\u6216 VPS \u74b0\u5883\u4e2d\u90e8\u7f72\u6b64\u61c9\u7528\uff0c\u4e26\u900f\u904e Nginx \u914d\u5408 Let's Encrypt \u6191\u8b49\u9032\u884c HTTPS \u52a0\u5bc6\u3002Docker Compose \u7684\u5f15\u5165\u66f4\u9032\u4e00\u6b65\u964d\u4f4e\u4e86\u7cfb\u7d71\u8a2d\u5b9a\u7684\u8907\u96dc\u6027\uff0c\u900f\u904e\u7c21\u55ae\u7684\u6307\u4ee4\u5373\u53ef\u5b8c\u6210\u5bb9\u5668\u5316\u61c9\u7528\u7684\u5efa\u69cb\u8207\u555f\u52d5\uff0c\u5927\u5e45\u63d0\u5347\u5c08\u6848\u7684\u53ef\u7dad\u8b77\u6027\u8207\u79fb\u690d\u6027\u3002<\/p>\n<p>\u6b64\u5c08\u6848\u7684\u6838\u5fc3\u7a0b\u5f0f\u78bc\u2014\u2014\u300capp.py\u300d\uff0c\u8ca0\u8cac\u8655\u7406 LINE Messaging API \u50b3\u5165\u7684 Webhook \u8acb\u6c42\uff0c\u5305\u542b\u7c3d\u540d\u9a57\u8b49\u8207\u8a0a\u606f\u56de\u8986\u908f\u8f2f\u3002\u958b\u767c\u8005\u50c5\u9700\u66ff\u63db Channel Access Token \u8207 Channel Secret\uff0c\u5373\u53ef\u8f15\u9b06\u6574\u5408\u5230\u81ea\u5df1\u7684 LINE \u5b98\u65b9\u5e33\u865f\u4e2d\u3002\u6b64\u5916\uff0cDockerfile \u4ee5\u7cbe\u7c21\u7684\u65b9\u5f0f\u5b9a\u7fa9\u4e86\u61c9\u7528\u7684\u4f9d\u8cf4\u8207\u57f7\u884c\u74b0\u5883\uff0c\u4e26\u642d\u914d docker-compose.yml \u6587\u4ef6\u9032\u884c\u591a\u5bb9\u5668\u5354\u4f5c\u8a2d\u5b9a\uff0c\u82e5\u8981\u52a0\u5165\u66f4\u591a\u5176\u4ed6\u4f9d\u8cf4\u5bb9\u5668\u4e5f\u662f\u53ef\u884c\u7684\uff0c\u6b64 Webhook \u4f3a\u670d\u5668\u9810\u8a2d\u5728 5000 \u57e0\u904b\u884c\u3002\u66f4\u65b0\u8207\u7dad\u8b77\u65b9\u9762\uff0c\u5c08\u6848\u63d0\u4f9b\u4e86\u4e00\u500b\u5be6\u7528\u7684 Shell \u8173\u672c\u2014\u2014\u300cupdate_system.sh\u300d\uff0c\u53ef\u4e00\u9375\u5b8c\u6210\u5bb9\u5668\u505c\u6b62\u3001\u7a0b\u5f0f\u78bc\u66f4\u65b0\u3001\u6620\u50cf\u6a94\u91cd\u5efa\u8207\u670d\u52d9\u91cd\u65b0\u555f\u52d5\u3002<\/p>\n<blockquote><p>\ud83d\udd17 GitHub \u5132\u5b58\u5eab\uff1a<a href=\"https:\/\/github.com\/qwe987299\/line_py_webhook\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/qwe987299\/line_py_webhook<\/a><\/p><\/blockquote>\n<h1><span style=\"color: #000080;\">\ud83d\udcdd app.py<\/span><\/h1>\n<pre class=\"line-numbers\"><code class=\"language-python\">from flask import Flask, request, abort\r\nfrom linebot import LineBotApi, WebhookHandler\r\nfrom linebot.exceptions import InvalidSignatureError\r\nfrom linebot.models import MessageEvent, TextMessage, TextSendMessage\r\n\r\napp = Flask(__name__)\r\n\r\n# \u66ff\u63db\u70ba\u60a8\u7684 Channel Access Token \u548c Channel Secret\r\nline_bot_api = LineBotApi('Channel Access Token')\r\nhandler = WebhookHandler('Channel Secret')\r\n\r\n\r\n@app.route(\"\/callback\", methods=['POST'])\r\ndef callback():\r\n    # \u7372\u53d6\u8acb\u6c42\u4e2d\u7684 Line \u7c3d\u540d\r\n    signature = request.headers['X-Line-Signature']\r\n    # \u7372\u53d6\u8acb\u6c42\u4e3b\u9ad4\r\n    body = request.get_data(as_text=True)\r\n    try:\r\n        # \u9a57\u8b49\u7c3d\u540d\u4e26\u8655\u7406\u8acb\u6c42\r\n        handler.handle(body, signature)\r\n    except InvalidSignatureError:\r\n        abort(400)\r\n    return 'OK'\r\n\r\n# \u8655\u7406\u6587\u5b57\u8a0a\u606f\u4e8b\u4ef6\r\n\r\n\r\n@handler.add(MessageEvent, message=TextMessage)\r\ndef handle_message(event):\r\n    user_message = event.message.text\r\n    reply_text = \"\u60a8\u8aaa\u4e86\uff1a\" + user_message\r\n    # \u56de\u8986\u4f7f\u7528\u8005\r\n    line_bot_api.reply_message(\r\n        event.reply_token,\r\n        TextSendMessage(text=reply_text)\r\n    )\r\n\r\n\r\nif __name__ == \"__main__\":\r\n    app.run(host=\"0.0.0.0\", port=5000)<\/code><\/pre>\n<p><code>app.py<\/code> \u662f LINE Py Webhook \u5c08\u6848\u7684\u6838\u5fc3\u7a0b\u5f0f\u78bc\uff0c\u8ca0\u8cac\u8655\u7406\u4f86\u81ea LINE Messaging API \u7684 Webhook \u8acb\u6c42\uff0c\u4e26\u5be6\u73fe\u8a0a\u606f\u7684\u5373\u6642\u4e92\u52d5\u3002\u6b64\u7a0b\u5f0f\u57fa\u65bc Python \u7684 Flask \u6846\u67b6\u958b\u767c\uff0c\u5177\u5099\u8f15\u91cf\u5316\u548c\u9ad8\u64f4\u5c55\u6027\u7684\u7279\u9ede\u3002\u7a0b\u5f0f\u4e2d\u8a2d\u5b9a\u4e86\u4f3a\u670d\u5668\u7684\u7aef\u9ede <code>\/callback<\/code>\uff0c\u7528\u65bc\u63a5\u6536\u4e26\u8655\u7406 LINE \u50b3\u905e\u7684 POST \u8acb\u6c42\u3002\u5728\u8acb\u6c42\u9032\u5165\u6642\uff0c\u7a0b\u5f0f\u9996\u5148\u9a57\u8b49\u5176\u7c3d\u540d\u662f\u5426\u6b63\u78ba\uff0c\u4ee5\u78ba\u4fdd\u6578\u64da\u4f86\u6e90\u7684\u5b89\u5168\u6027\uff0c\u63a5\u8457\u5c07\u8a0a\u606f\u5167\u5bb9\u50b3\u905e\u7d66\u6307\u5b9a\u7684\u8655\u7406\u908f\u8f2f\u3002\u5728\u8655\u7406\u8a0a\u606f\u6642\uff0c<code>app.py<\/code> \u4f7f\u7528\u4e86 LINE Bot SDK \u63d0\u4f9b\u7684\u529f\u80fd\uff0c\u5c08\u6ce8\u65bc\u63a5\u6536\u6587\u5b57\u8a0a\u606f\u4e26\u56de\u8986\u3002\u7a0b\u5f0f\u7684\u6838\u5fc3\u908f\u8f2f\u5728 <code>handle_message<\/code> \u65b9\u6cd5\u4e2d\u5be6\u73fe\uff0c\u5b83\u6703\u63d0\u53d6\u4f7f\u7528\u8005\u50b3\u9001\u7684\u8a0a\u606f\u5167\u5bb9\uff0c\u4e26\u56de\u50b3\u4e00\u6bb5\u7d93\u904e\u7c21\u55ae\u8655\u7406\u7684\u6587\u5b57\uff0c\u4f8b\u5982 \"\u60a8\u8aaa\u4e86\uff1a\" \u52a0\u4e0a\u4f7f\u7528\u8005\u7684\u8a0a\u606f\u3002\u9019\u7a2e\u5373\u6642\u4e92\u52d5\u7684\u8a2d\u8a08\u4e0d\u50c5\u9069\u5408\u57fa\u790e\u958b\u767c\uff0c\u4e5f\u63d0\u4f9b\u4e86\u4e00\u500b\u7c21\u55ae\u76f4\u89c0\u7684\u7bc4\u4f8b\uff0c\u5e6b\u52a9\u958b\u767c\u8005\u5feb\u901f\u4e0a\u624b\u3002\u958b\u767c\u8005\u50c5\u9700\u66ff\u63db Channel Access Token \u548c Channel Secret\uff0c\u5373\u53ef\u5be6\u73fe\u8207\u81ea\u5df1\u7684 LINE \u5b98\u65b9\u5e33\u865f\u6574\u5408\uff0c\u70ba\u958b\u767c\u6216\u6e2c\u8a66\u63d0\u4f9b\u4e86\u7a69\u5b9a\u53ef\u9760\u7684\u57fa\u790e\u6846\u67b6\u3002<\/p><div class=\"3a456c955cc9861673f62d33beb7714e\" data-index=\"2\" style=\"float: none; margin:0px;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-2683739050533486\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-2683739050533486\"\r\n     data-ad-slot=\"3270345536\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n\n<h1><span style=\"color: #000080;\">\ud83d\udcdd docker-compose.yml<\/span><\/h1>\n<pre class=\"line-numbers\"><code class=\"language-yaml\">services:\r\n  line_py_webhook:\r\n    build:\r\n      context: .\r\n      dockerfile: Dockerfile\r\n    container_name: line_py_webhook\r\n    ports:\r\n      - \"5000:5000\"\r\n    environment:\r\n      - FLASK_ENV=production<\/code><\/pre>\n<p><code>docker-compose.yml<\/code> \u662f\u6b64\u5c08\u6848\u7684\u91cd\u8981\u7d44\u4ef6\uff0c\u8ca0\u8cac\u5b9a\u7fa9\u61c9\u7528\u7684\u5bb9\u5668\u5316\u90e8\u7f72\u914d\u7f6e\uff0c\u900f\u904e\u7c21\u55ae\u7684 YAML \u683c\u5f0f\u4f86\u63cf\u8ff0\u670d\u52d9\u7684\u904b\u884c\u74b0\u5883\u8207\u76f8\u95dc\u8a2d\u5b9a\u3002\u8a72\u6587\u4ef6\u5b9a\u7fa9\u4e86\u4e00\u500b\u540d\u70ba <code>line_py_webhook<\/code> \u7684\u670d\u52d9\uff0c\u6307\u5b9a\u4e86\u61c9\u7528\u7684\u5efa\u69cb\u4e0a\u4e0b\u6587\u8207\u4f7f\u7528\u7684 Dockerfile\uff0c\u78ba\u4fdd\u5bb9\u5668\u80fd\u6b63\u78ba\u5730\u5f9e\u9805\u76ee\u76ee\u9304\u4e2d\u751f\u6210\u3002\u670d\u52d9\u9810\u8a2d\u7d81\u5b9a\u672c\u5730\u7684 5000 \u57e0\uff0c\u5c0d\u61c9\u65bc Flask \u61c9\u7528\u5167\u90e8\u7684\u4f3a\u670d\u5668\u57e0\u865f\uff0c\u65b9\u4fbf\u958b\u767c\u8005\u5728\u672c\u5730\u6216\u9060\u7aef\u9032\u884c\u6e2c\u8a66\u8207\u8abf\u8a66\u3002\u8a72\u6587\u4ef6\u9084\u5141\u8a31\u8a2d\u5b9a\u74b0\u5883\u8b8a\u6578\uff0c\u4f8b\u5982 FLASK_ENV\uff0c\u88ab\u8a2d\u7f6e\u70ba\u751f\u7522\u6a21\u5f0f\uff0c\u78ba\u4fdd\u61c9\u7528\u5728\u90e8\u7f72\u6642\u4ee5\u7a69\u5b9a\u4e14\u9ad8\u6548\u80fd\u7684\u72c0\u614b\u904b\u884c\u3002\u9019\u6a23\u7684\u914d\u7f6e\u4f7f\u5f97\u670d\u52d9\u5728\u591a\u500b\u74b0\u5883\u4e2d\u4fdd\u6301\u4e00\u81f4\u6027\uff0c\u964d\u4f4e\u56e0\u74b0\u5883\u5dee\u7570\u5c0e\u81f4\u7684\u932f\u8aa4\u98a8\u96aa\u3002\u900f\u904e <code>docker-compose.yml<\/code>\uff0c\u958b\u767c\u8005\u53ef\u4ee5\u7c21\u5316\u5bb9\u5668\u7684\u555f\u52d5\u8207\u7ba1\u7406\uff0c\u50c5\u9700\u57f7\u884c\u7c21\u55ae\u7684 <code>docker compose up<\/code> \u547d\u4ee4\uff0c\u5373\u53ef\u5b8c\u6210\u5f9e\u6620\u50cf\u6a94\u5efa\u69cb\u5230\u5bb9\u5668\u555f\u52d5\u7684\u6240\u6709\u6d41\u7a0b\uff0c\u7121\u9700\u624b\u52d5\u57f7\u884c\u7e41\u7463\u7684\u547d\u4ee4\u3002\u9019\u7a2e\u8a2d\u8a08\u5145\u5206\u767c\u63ee\u4e86 Docker Compose \u7684\u512a\u52e2\uff0c\u4f7f\u5f97\u61c9\u7528\u7684\u90e8\u7f72\u8207\u7dad\u8b77\u66f4\u52a0\u9ad8\u6548\u548c\u6613\u65bc\u64f4\u5c55\uff0c\u662f\u73fe\u4ee3\u61c9\u7528\u958b\u767c\u7684\u7406\u60f3\u9078\u64c7\u4e4b\u4e00\u3002<\/p>\n<h1><span style=\"color: #000080;\">\ud83d\udcdd Dockerfile<\/span><\/h1>\n<pre class=\"line-numbers\"><code class=\"language-markup\"># \u4f7f\u7528 Python \u57fa\u790e\u6620\u50cf\u6a94\r\nFROM python:3.9\r\n\r\n# \u8a2d\u5b9a\u5de5\u4f5c\u76ee\u9304\r\nWORKDIR \/app\r\n\r\n# \u8907\u88fd\u7a0b\u5f0f\u78bc\u5230\u5bb9\u5668\r\nCOPY app.py \/app\/\r\nCOPY requirements.txt \/app\/\r\n\r\n# \u5b89\u88dd\u6240\u9700\u5957\u4ef6\r\nRUN pip install --no-cache-dir -r requirements.txt\r\n\r\n# \u66b4\u9732 Flask \u9810\u8a2d\u7684 5000 \u57e0\r\nEXPOSE 5000\r\n\r\n# \u555f\u52d5\u61c9\u7528\r\nCMD [\"python\", \"app.py\"]<\/code><\/pre>\n<p><code>Dockerfile<\/code> \u662f\u6b64\u5c08\u6848\u4e2d\u5b9a\u7fa9\u61c9\u7528\u5bb9\u5668\u5316\u74b0\u5883\u7684\u57fa\u790e\u914d\u7f6e\u6587\u4ef6\uff0c\u8ca0\u8cac\u63cf\u8ff0\u5982\u4f55\u69cb\u5efa\u61c9\u7528\u7684 Docker \u6620\u50cf\u6a94\u3002\u5728\u6b64\u5c08\u6848\u4e2d\uff0c<code>Dockerfile<\/code> \u4f7f\u7528 Python 3.9 \u4f5c\u70ba\u57fa\u790e\u6620\u50cf\u6a94\uff0c\u70ba\u61c9\u7528\u63d0\u4f9b\u4e00\u500b\u7a69\u5b9a\u4e14\u8f15\u91cf\u5316\u7684\u904b\u884c\u74b0\u5883\u3002\u8a72\u6587\u4ef6\u9996\u5148\u8a2d\u7f6e\u4e86\u5de5\u4f5c\u76ee\u9304 <code>\/app<\/code>\uff0c\u4e26\u5c07\u5c08\u6848\u7684\u6838\u5fc3\u6587\u4ef6 <code>app.py<\/code> \u548c <code>requirements.txt<\/code> \u8907\u88fd\u5230\u5bb9\u5668\u5167\u3002\u63a5\u4e0b\u4f86\uff0c<code>Dockerfile<\/code>\u00a0\u900f\u904e\u57f7\u884c <code>pip install<\/code> \u6307\u4ee4\u4f86\u5b89\u88dd Flask \u8207 LINE Bot SDK \u7b49\u61c9\u7528\u7684\u5fc5\u8981\u4f9d\u8cf4\uff0c\u78ba\u4fdd\u5bb9\u5668\u5177\u5099\u57f7\u884c\u7a0b\u5f0f\u6240\u9700\u7684\u5b8c\u6574\u74b0\u5883\u3002\u540c\u6642\uff0c\u6587\u4ef6\u4e5f\u5c07 Flask \u7684\u9810\u8a2d\u57e0 5000 \u66b4\u9732\uff0c\u4ee5\u4fbf\u5bb9\u5668\u8207\u5916\u90e8\u9032\u884c\u901a\u8a0a\u3002\u6700\u5f8c\uff0c\u900f\u904e\u6307\u5b9a <code>CMD<\/code>\uff0c\u5b9a\u7fa9\u4e86\u5bb9\u5668\u555f\u52d5\u6642\u7684\u57f7\u884c\u6307\u4ee4\uff0c\u8b93\u61c9\u7528\u7a0b\u5f0f\u4ee5 <code>python app.py<\/code> \u7684\u65b9\u5f0f\u555f\u52d5\u3002<\/p>\n<h1><span style=\"color: #000080;\">\ud83d\udcdd requirements.txt<\/span><\/h1>\n<pre class=\"line-numbers\"><code class=\"language-markup\">Flask==2.3.2\r\nline-bot-sdk==2.2.1<\/code><\/pre>\n<p><code>requirements.txt<\/code> \u662f\u5c08\u6848\u4e2d\u7528\u4f86\u7ba1\u7406 Python \u5957\u4ef6\u4f9d\u8cf4\u7684\u6587\u4ef6\uff0c\u5217\u51fa\u4e86\u61c9\u7528\u7a0b\u5f0f\u57f7\u884c\u6240\u9700\u7684\u6240\u6709\u5fc5\u8981\u5eab\u53ca\u5176\u7248\u672c\u3002\u8a72\u6587\u4ef6\u5728\u5c08\u6848\u4e2d\u5305\u542b\u5169\u500b\u4e3b\u8981\u5957\u4ef6\uff1a<code>Flask<\/code> \u548c <code>line-bot-sdk<\/code>\u3002<code>Flask<\/code> \u662f\u8f15\u91cf\u7d1a\u7684 Python Web \u6846\u67b6\uff0c\u8ca0\u8cac\u63d0\u4f9b Webhook \u7684\u4f3a\u670d\u5668\u7aef\u529f\u80fd\uff0c\u8655\u7406 HTTP \u8acb\u6c42\u548c\u56de\u61c9\u3002<code>line-bot-sdk<\/code> \u5247\u662f LINE Messaging API \u7684\u5b98\u65b9\u8edf\u9ad4\u958b\u767c\u5de5\u5177\u5305\uff0c\u7528\u65bc\u8207 LINE \u5e73\u53f0\u9032\u884c\u4e92\u52d5\uff0c\u5be6\u73fe\u8a0a\u606f\u7684\u63a5\u6536\u8207\u56de\u8986\u3002\u900f\u904e\u9019\u4efd\u6587\u4ef6\uff0c\u958b\u767c\u8005\u80fd\u8f15\u9b06\u7ba1\u7406\u5c08\u6848\u7684\u4f9d\u8cf4\u9805\uff0c\u4e26\u78ba\u4fdd\u61c9\u7528\u5728\u4e0d\u540c\u74b0\u5883\u4e2d\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<h1><span style=\"color: #000080;\">\ud83d\udcdd update_system.sh<\/span><\/h1>\n<pre class=\"line-numbers\"><code class=\"language-markup\">#!\/bin\/bash\r\n\r\n# \u505c\u6b62\u4e26\u79fb\u9664\u8207 Docker Compose \u76f8\u95dc\u7684\u5bb9\u5668\u548c\u6620\u50cf\u6a94\r\necho \"Stopping and removing existing containers...\"\r\ndocker compose down\r\n\r\n# \u66f4\u65b0\u7a0b\u5f0f\u78bc\r\necho \"Pulling latest code from Git...\"\r\ngit pull\r\n\r\n# \u91cd\u5efa\u6620\u50cf\u6a94\r\necho \"Building new Docker image...\"\r\ndocker compose build --no-cache\r\n\r\n# \u555f\u52d5\u670d\u52d9\r\necho \"Starting new container...\"\r\ndocker compose up -d\r\n\r\necho \"Update and deployment completed successfully!\"<\/code><\/pre>\n<p><code>update_system.sh<\/code> \u662f\u5c08\u6848\u4e2d\u7684\u81ea\u52d5\u5316\u8173\u672c\uff0c\u7528\u65bc\u7c21\u5316\u61c9\u7528\u7684\u66f4\u65b0\u8207\u90e8\u7f72\u6d41\u7a0b\u3002\u8a72\u8173\u672c\u6574\u5408\u4e86\u4e00\u7cfb\u5217 Docker Compose \u64cd\u4f5c\u6307\u4ee4\uff0c\u5305\u542b\u505c\u6b62\u73fe\u6709\u5bb9\u5668\u3001\u62c9\u53d6\u6700\u65b0\u7684 Git \u5132\u5b58\u5eab\u7a0b\u5f0f\u78bc\u3001\u91cd\u5efa\u6620\u50cf\u6a94\u4ee5\u53ca\u91cd\u65b0\u555f\u52d5\u670d\u52d9\u7b49\u6b65\u9a5f\u3002\u900f\u904e\u9019\u4e00\u8173\u672c\uff0c\u958b\u767c\u8005\u53ea\u9700\u57f7\u884c\u55ae\u4e00\u547d\u4ee4\uff0c\u5373\u53ef\u5b8c\u6210\u6574\u500b\u66f4\u65b0\u904e\u7a0b\uff0c\u907f\u514d\u4e86\u624b\u52d5\u64cd\u4f5c\u53ef\u80fd\u5c0e\u81f4\u7684\u932f\u8aa4\u6216\u907a\u6f0f\u3002\u8173\u672c\u9996\u5148\u900f\u904e <code>docker compose down<\/code> \u505c\u6b62\u4e26\u79fb\u9664\u73fe\u6709\u7684\u5bb9\u5668\uff0c\u7136\u5f8c\u57f7\u884c <code>git pull<\/code> \u78ba\u4fdd\u672c\u5730\u7a0b\u5f0f\u78bc\u8207\u9060\u7aef\u5132\u5b58\u5eab\u540c\u6b65\u3002\u63a5\u4e0b\u4f86\uff0c\u5b83\u4f7f\u7528 <code>docker compose build --no-cache<\/code> \u91cd\u65b0\u5efa\u69cb Docker \u6620\u50cf\u6a94\uff0c\u78ba\u4fdd\u65b0\u7684\u7a0b\u5f0f\u78bc\u548c\u4f9d\u8cf4\u88ab\u6b63\u78ba\u61c9\u7528\uff0c\u6700\u5f8c\u4ee5 <code>docker compose up -d<\/code> \u555f\u52d5\u66f4\u65b0\u5f8c\u7684\u5bb9\u5668\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg\" width=\"1024\" height=\"768\" \/><br \/>\n\u25b2 \u5be6\u969b\u4e0a\u5728\u7d42\u7aef\u6a5f\u662f\u9019\u6a23 git clone \u8207\u90e8\u5c6c\u7684\uff0c\u57fa\u672c\u4e0a\u57f7\u884c\u6307\u4ee4 <code>sh update_system.sh<\/code> \u5c31\u80fd\u641e\u5b9a\u9996\u6b21\u5b89\u88dd\u8207\u57f7\u884c\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-2.jpg\" width=\"1024\" height=\"768\" \/><br \/>\n\u25b2 \u53ef\u4ee5\u5728\u5c08\u6848\u76ee\u9304\u4e0b\u900f\u904e\u6307\u4ee4 <code>docker compose ps<\/code> \u67e5\u770b\u5bb9\u5668\u904b\u4f5c\u72c0\u614b\uff0c\u5982\u679c\u8981\u505c\u6b62\u4f3a\u670d\u5668\u5247\u53ef\u4ee5\u900f\u904e\u6307\u4ee4 <code>docker compose down<\/code>\u3002<\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>LINE Py Webhook \u662f\u6211\u5c08\u70ba LINE Messaging API \u8a2d\u8a08\u7684 Webhook \u4f3a\u670d\u5668\u7bc4\u4f8b\uff0c\u5229\u7528 Python \u8207 Flask \u6846\u67b6\u5be6\u73fe\u5feb\u901f\u958b\u767c\uff0c\u4e26\u7d50\u5408 Docker [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":18879,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,20,499],"tags":[546],"class_list":["post-18878","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-server","category-python","tag-docker"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mnya.tw\/cc\/word\/2372.html\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801\" \/>\n<meta property=\"og:description\" content=\"LINE Py Webhook \u662f\u6211\u5c08\u70ba LINE Messaging API \u8a2d\u8a08\u7684 Webhook \u4f3a\u670d\u5668\u7bc4\u4f8b\uff0c\u5229\u7528 Python \u8207 Flask \u6846\u67b6\u5be6\u73fe\u5feb\u901f\u958b\u767c\uff0c\u4e26\u7d50\u5408 D [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mnya.tw\/cc\/word\/2372.html\" \/>\n<meta property=\"og:site_name\" content=\"\u840c\u82bd\u7d9c\u5408\u5929\u5730\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-07T08:46:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u840c\u82bd\u7ad9\u9577\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/qwe987299\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u840c\u82bd\u7ad9\u9577\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html\"},\"author\":{\"name\":\"\u840c\u82bd\u7ad9\u9577\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#\\\/schema\\\/person\\\/28e9ae25bc418b8ec216b7aa2c848faa\"},\"headline\":\"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668\",\"datePublished\":\"2025-01-07T08:46:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html\"},\"wordCount\":115,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2025\\\/2372-1.jpg\",\"keywords\":[\"Docker\"],\"articleSection\":[\"\u7a0b\u5f0f\u8a2d\u8a08\",\"\u4f3a\u670d\u5668\",\"Python\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html\",\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html\",\"name\":\"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2025\\\/2372-1.jpg\",\"datePublished\":\"2025-01-07T08:46:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#\\\/schema\\\/person\\\/28e9ae25bc418b8ec216b7aa2c848faa\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#primaryimage\",\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2025\\\/2372-1.jpg\",\"contentUrl\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2025\\\/2372-1.jpg\",\"width\":1024,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/2372.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/mnya.tw\\\/cc\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#website\",\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/\",\"name\":\"\u840c\u82bd\u7d9c\u5408\u5929\u5730\",\"description\":\"\u751f\u6d3b\u4f11\u9592\u2502\u96fb\u5b50\u8cc7\u8a0a\u2502\u5b78\u8853\u77e5\u8b58\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#\\\/schema\\\/person\\\/28e9ae25bc418b8ec216b7aa2c848faa\",\"name\":\"\u840c\u82bd\u7ad9\u9577\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g\",\"caption\":\"\u840c\u82bd\u7ad9\u9577\"},\"description\":\"\u60a8\u597d\uff0c\u6211\u662f\u840c\u82bd\u7cfb\u5217\u7db2\u7ad9\uff08Mnya Series Website\uff09\u7684\u7ad9\u9577&amp;\u5275\u59cb\u4eba\uff0c\u53ef\u4ee5\u7a31\u547c\u6211\u300c\u840c\u82bd\u7ad9\u9577\u300d\u3002\u6211\u7684\u8208\u8da3\u8207\u5c08\u9577\u6709\u767b\u5c71\u3001\u89c0\u5bdf\u5730\u5f62\u3001\u651d\u5f71\u3001\u65c5\u904a\u3001\u7db2\u9801\u8a2d\u8a08\uff06\u67b6\u8a2d\uff06\u7d93\u71df\u3001\u52d5\u756b\u88fd\u4f5c\u3001\u5716\u7247\u8655\u7406\u3001\u8cc7\u6599\u5f59\u6574\u7b49\u3002\u6709\u4efb\u4f55\u554f\u984c\u6216\u5efa\u8b70\u8acb\u81f3\u840c\u82bd\u8ad6\u58c7\u767c\u8868\u3002\u7db2\u7ad9\u696d\u52d9\u3001\u5546\u696d\u5408\u4f5c\u7684\u806f\u7d61\u65b9\u5f0f\u5728\u300c\u95dc\u65bc\u672c\u7ad9 \u2192 \u5718\u968a\u4ecb\u7d39 \u2192 \u7ad9\u9577\u4ecb\u7d39\u300d\uff0c\u5f88\u9ad8\u8208\u8a8d\u8b58\u60a8\uff01\u8acb\u591a\u6307\u6559\uff01\",\"sameAs\":[\"https:\\\/\\\/mnya.tw\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/x.com\\\/qwe987299\"],\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/author\\\/qwe987299\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mnya.tw\/cc\/word\/2372.html","og_locale":"zh_TW","og_type":"article","og_title":"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801","og_description":"LINE Py Webhook \u662f\u6211\u5c08\u70ba LINE Messaging API \u8a2d\u8a08\u7684 Webhook \u4f3a\u670d\u5668\u7bc4\u4f8b\uff0c\u5229\u7528 Python \u8207 Flask \u6846\u67b6\u5be6\u73fe\u5feb\u901f\u958b\u767c\uff0c\u4e26\u7d50\u5408 D [&hellip;]","og_url":"https:\/\/mnya.tw\/cc\/word\/2372.html","og_site_name":"\u840c\u82bd\u7d9c\u5408\u5929\u5730","article_published_time":"2025-01-07T08:46:35+00:00","og_image":[{"width":1024,"height":768,"url":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg","type":"image\/jpeg"}],"author":"\u840c\u82bd\u7ad9\u9577","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/qwe987299","twitter_misc":{"\u4f5c\u8005:":"\u840c\u82bd\u7ad9\u9577","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"2 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#article","isPartOf":{"@id":"https:\/\/mnya.tw\/cc\/word\/2372.html"},"author":{"name":"\u840c\u82bd\u7ad9\u9577","@id":"https:\/\/mnya.tw\/cc\/#\/schema\/person\/28e9ae25bc418b8ec216b7aa2c848faa"},"headline":"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668","datePublished":"2025-01-07T08:46:35+00:00","mainEntityOfPage":{"@id":"https:\/\/mnya.tw\/cc\/word\/2372.html"},"wordCount":115,"commentCount":0,"image":{"@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#primaryimage"},"thumbnailUrl":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg","keywords":["Docker"],"articleSection":["\u7a0b\u5f0f\u8a2d\u8a08","\u4f3a\u670d\u5668","Python"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mnya.tw\/cc\/word\/2372.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mnya.tw\/cc\/word\/2372.html","url":"https:\/\/mnya.tw\/cc\/word\/2372.html","name":"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801","isPartOf":{"@id":"https:\/\/mnya.tw\/cc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#primaryimage"},"image":{"@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#primaryimage"},"thumbnailUrl":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg","datePublished":"2025-01-07T08:46:35+00:00","author":{"@id":"https:\/\/mnya.tw\/cc\/#\/schema\/person\/28e9ae25bc418b8ec216b7aa2c848faa"},"breadcrumb":{"@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mnya.tw\/cc\/word\/2372.html"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#primaryimage","url":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg","contentUrl":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2025\/2372-1.jpg","width":1024,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/mnya.tw\/cc\/word\/2372.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/mnya.tw\/cc"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528 Docker \u8207 Python \u5feb\u901f\u5efa\u7f6e\u9069\u7528\u65bc LINE Messaging API \u7684 Webhook \u4f3a\u670d\u5668"}]},{"@type":"WebSite","@id":"https:\/\/mnya.tw\/cc\/#website","url":"https:\/\/mnya.tw\/cc\/","name":"\u840c\u82bd\u7d9c\u5408\u5929\u5730","description":"\u751f\u6d3b\u4f11\u9592\u2502\u96fb\u5b50\u8cc7\u8a0a\u2502\u5b78\u8853\u77e5\u8b58","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mnya.tw\/cc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Person","@id":"https:\/\/mnya.tw\/cc\/#\/schema\/person\/28e9ae25bc418b8ec216b7aa2c848faa","name":"\u840c\u82bd\u7ad9\u9577","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/secure.gravatar.com\/avatar\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g","caption":"\u840c\u82bd\u7ad9\u9577"},"description":"\u60a8\u597d\uff0c\u6211\u662f\u840c\u82bd\u7cfb\u5217\u7db2\u7ad9\uff08Mnya Series Website\uff09\u7684\u7ad9\u9577&amp;\u5275\u59cb\u4eba\uff0c\u53ef\u4ee5\u7a31\u547c\u6211\u300c\u840c\u82bd\u7ad9\u9577\u300d\u3002\u6211\u7684\u8208\u8da3\u8207\u5c08\u9577\u6709\u767b\u5c71\u3001\u89c0\u5bdf\u5730\u5f62\u3001\u651d\u5f71\u3001\u65c5\u904a\u3001\u7db2\u9801\u8a2d\u8a08\uff06\u67b6\u8a2d\uff06\u7d93\u71df\u3001\u52d5\u756b\u88fd\u4f5c\u3001\u5716\u7247\u8655\u7406\u3001\u8cc7\u6599\u5f59\u6574\u7b49\u3002\u6709\u4efb\u4f55\u554f\u984c\u6216\u5efa\u8b70\u8acb\u81f3\u840c\u82bd\u8ad6\u58c7\u767c\u8868\u3002\u7db2\u7ad9\u696d\u52d9\u3001\u5546\u696d\u5408\u4f5c\u7684\u806f\u7d61\u65b9\u5f0f\u5728\u300c\u95dc\u65bc\u672c\u7ad9 \u2192 \u5718\u968a\u4ecb\u7d39 \u2192 \u7ad9\u9577\u4ecb\u7d39\u300d\uff0c\u5f88\u9ad8\u8208\u8a8d\u8b58\u60a8\uff01\u8acb\u591a\u6307\u6559\uff01","sameAs":["https:\/\/mnya.tw\/","https:\/\/x.com\/https:\/\/x.com\/qwe987299"],"url":"https:\/\/mnya.tw\/cc\/word\/author\/qwe987299"}]}},"_links":{"self":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/posts\/18878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/comments?post=18878"}],"version-history":[{"count":0,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/posts\/18878\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/media\/18879"}],"wp:attachment":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/media?parent=18878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/categories?post=18878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/tags?post=18878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}