{"id":89519,"date":"2026-08-03T07:32:41","date_gmt":"2026-08-02T23:32:41","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/89519.html"},"modified":"2026-08-03T07:32:41","modified_gmt":"2026-08-02T23:32:41","slug":"%e5%9c%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%ad%e9%83%a8%e7%bd%b2testhub%e5%bc%80%e6%ba%90%e6%b5%8b%e8%af%95%e5%b9%b3%e5%8f%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/89519.html","title":{"rendered":"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0"},"content":{"rendered":"<p style=\"text-align:left\">TestHub\u6d4b\u8bd5\u5e73\u53f0\u6b63\u5f0f\u5f00\u6e90&#xff0c;\u6587\u672b\u83b7\u53d6\u5b8c\u6574\u6e90\u7801<\/p>\n<p style=\"text-align:left\">\u6700\u8fd1\u8fd9\u6bb5\u65f6\u95f4&#xff0c;\u4e00\u4e2a\u540d\u4e3aTestHub\u7684\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0\u5728\u6d4b\u8bd5\u5708\u5b50\u6084\u7136\u5d1b\u8d77&#xff0c;\u4e4b\u524d\u53ea\u662f\u5728\u672c\u5730\u8fd0\u884c\u4e86\u4e0b\u770b\u4e86\u4e0b\u9875\u9762\u6548\u679c&#xff0c;\u9875\u9762\u8fd8\u662f\u975e\u5e38\u6f02\u4eae\u7684\u3002\u4eca\u5929\u62bd\u65f6\u95f4\u7814\u7a76\u4e86\u4e00\u4e0b\u5728\u670d\u52a1\u5668\u4e0a\u53bb\u90e8\u7f72\u8fd9\u4e2a\u9879\u76ee&#xff0c;\u5f53\u7136&#xff0c;\u5927\u90e8\u5206\u90fd\u662f\u501f\u52a9AI\u53bb\u5e2e\u6211\u5b8c\u6210\u7684\u3002\u56e0\u4e3a\u5e73\u53f0\u6280\u672f\u6808\u7528\u5230\u4e86Django &#043; Vue3 &#xff0c;\u6570\u636e\u5e93\u7528\u7684\u662fmysql&#xff0c;\u56e0\u6b64&#xff0c;\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u600e\u4e48\u53bb\u90e8\u7f72\u8fd9\u79cd\u67b6\u6784\u7684\u9879\u76ee&#xff0c;\u8fd9\u91cc\u7684\u8bdd\u91c7\u7528docker\u642d\u5efa\u662f\u6bd4\u8f83\u65b9\u4fbf\u7684\u3002<\/p>\n<p style=\"text-align:left\">\u4e3b\u8981\u7684\u601d\u8def\u5982\u4e0b&#xff1a;<\/p>\n<p style=\"text-align:left\">1\u3001docker\u642d\u5efamysql8\u7248\u672c\u7684\u6570\u636e\u5e93<\/p>\n<p style=\"text-align:left\">2\u3001\u540e\u7aef\u4ee3\u7801\u7528docker\u955c\u50cf\u542f\u52a8<\/p>\n<p style=\"text-align:left\">3\u3001\u524d\u7aef\u91c7\u7528node\u6253\u5305\u6784\u5efa\u540e&#xff0c;\u5c06\u90e8\u7f72\u5305\u90e8\u7f72\u5230ngnix\u955c\u50cf\u4e2d\u4e0b\u9762\u662f\u4e00\u4e9bdockerfile&#xff0c;\u53ef\u4ee5\u4f9b\u53c2\u8003&#xff1a;<\/p>\n<p style=\"text-align:left\">Dockerfile.backend<\/p>\n<p> FROM\u00a0python:3.12-slim# \u8bbe\u7f6e\u73af\u5883\u53d8\u91cfENV\u00a0PYTHONDONTWRITEBYTECODE&#061;1ENV\u00a0PYTHONUNBUFFERED&#061;1# \u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55WORKDIR\u00a0\/app# \u5b89\u88c5\u7cfb\u7edf\u4f9d\u8d56RUN\u00a0apt-get update\u00a0\\\\\u00a0 \u00a0 &amp;&amp; apt-get install -y &#8211;no-install-recommends\u00a0\\\\\u00a0 \u00a0 \u00a0 \u00a0 default-libmysqlclient-dev\u00a0\\\\\u00a0 \u00a0 \u00a0 \u00a0 build-essential\u00a0\\\\\u00a0 \u00a0 \u00a0 \u00a0 pkg-config\u00a0\\\\\u00a0 \u00a0 \u00a0 \u00a0 gcc\u00a0\\\\\u00a0 \u00a0 &amp;&amp; rm -rf \/var\/lib\/apt\/lists\/*# \u590d\u5236requirements\u6587\u4ef6COPY\u00a0requirements.txt .# \u5b89\u88c5Python\u4f9d\u8d56RUN\u00a0pip install &#8211;no-cache-dir -r requirements.txt# \u590d\u5236\u9879\u76ee\u4ee3\u7801COPY\u00a0. .# \u6536\u96c6\u9759\u6001\u6587\u4ef6RUN\u00a0python manage.py collectstatic &#8211;noinput# \u66b4\u9732\u7aef\u53e3EXPOSE\u00a08000# \u542f\u52a8\u547d\u4ee4CMD\u00a0[&#034;sh&#034;, &#034;-c&#034;, &#034;python manage.py migrate &#8211;no-input &amp;&amp; python manage.py runserver 0.0.0.0:8000&#034;]<\/p>\n<p style=\"text-align:left\">Dockerfile.frontend<\/p>\n<p> # \u591a\u9636\u6bb5\u6784\u5efa &#8211; \u524d\u7aef\u6784\u5efa\u9636\u6bb5FROM node:18-alpine AS builder# \u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55WORKDIR \/app# \u590d\u5236\u524d\u7aef\u6587\u4ef6COPY frontend\/ .# \u5b89\u88c5\u4f9d\u8d56RUN npm install# \u6784\u5efa\u524d\u7aef\u5e94\u7528RUN npm run build# \u4f7f\u7528Nginx\u4f5c\u4e3a\u751f\u4ea7\u73af\u5883FROM nginx:alpine# \u590d\u5236Nginx\u914d\u7f6eCOPY nginx.conf \/etc\/nginx\/nginx.conf# \u590d\u5236\u6784\u5efa\u597d\u7684\u524d\u7aef\u6587\u4ef6COPY &#8211;from&#061;builder \/app\/dist \/usr\/share\/nginx\/html# \u66b4\u9732\u7aef\u53e3EXPOSE 80# \u542f\u52a8NginxCMD [&#034;nginx&#034;,\u00a0&#034;-g&#034;,\u00a0&#034;daemon off;&#034;]<\/p>\n<p style=\"text-align:left\">nginx.conf<\/p>\n<p> events\u00a0{\u00a0 \u00a0\u00a0worker_connections\u00a01024;}http\u00a0{\u00a0 \u00a0\u00a0include\u00a0 \u00a0 \u00a0 \u00a0\/etc\/nginx\/mime.types;\u00a0 \u00a0\u00a0default_type\u00a0 application\/octet-stream;\u00a0 \u00a0\u00a0# \u65e5\u5fd7\u683c\u5f0f\u00a0 \u00a0\u00a0log_format\u00a0main\u00a0&#039;$remote_addr\u00a0&#8211;\u00a0$remote_user\u00a0[$time_local] &#034;$request&#034; &#039;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0&#039;$status\u00a0$body_bytes_sent\u00a0&#034;$http_referer&#034; &#039;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0&#039;&#034;$http_user_agent&#034; &#034;$http_x_forwarded_for&#034;&#039;;\u00a0 \u00a0\u00a0access_log\u00a0\/var\/log\/nginx\/access.log main;\u00a0 \u00a0\u00a0error_log\u00a0\/var\/log\/nginx\/error.log\u00a0warn;\u00a0 \u00a0\u00a0# \u57fa\u672c\u8bbe\u7f6e\u00a0 \u00a0\u00a0sendfile\u00a0on;\u00a0 \u00a0\u00a0tcp_nopush\u00a0on;\u00a0 \u00a0\u00a0tcp_nodelay\u00a0on;\u00a0 \u00a0\u00a0keepalive_timeout\u00a065;\u00a0 \u00a0\u00a0types_hash_max_size\u00a02048;\u00a0 \u00a0\u00a0# Gzip\u8bbe\u7f6e\u00a0 \u00a0\u00a0gzip\u00a0on;\u00a0 \u00a0\u00a0gzip_vary\u00a0on;\u00a0 \u00a0\u00a0gzip_proxied\u00a0any;\u00a0 \u00a0\u00a0gzip_comp_level\u00a06;\u00a0 \u00a0\u00a0gzip_types\u00a0 \u00a0 \u00a0 \u00a0 text\/plain\u00a0 \u00a0 \u00a0 \u00a0 text\/css\u00a0 \u00a0 \u00a0 \u00a0 text\/xml\u00a0 \u00a0 \u00a0 \u00a0 text\/javascript\u00a0 \u00a0 \u00a0 \u00a0 application\/json\u00a0 \u00a0 \u00a0 \u00a0 application\/javascript\u00a0 \u00a0 \u00a0 \u00a0 application\/xml&#043;rss;\u00a0 \u00a0\u00a0server\u00a0{\u00a0 \u00a0 \u00a0 \u00a0\u00a0listen\u00a080;\u00a0 \u00a0 \u00a0 \u00a0\u00a0server_name\u00a0localhost;\u00a0 \u00a0 \u00a0 \u00a0\u00a0# \u524d\u7aef\u9759\u6001\u6587\u4ef6\u00a0 \u00a0 \u00a0 \u00a0\u00a0location\u00a0\/ {\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0root\u00a0\/usr\/share\/nginx\/html;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0try_files\u00a0$uri\u00a0$uri\/ \/index.html;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0expires\u00a01h;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0add_header\u00a0Cache-Control\u00a0&#034;public, must-revalidate, proxy-revalidate&#034;;\u00a0 \u00a0 \u00a0 \u00a0 }\u00a0 \u00a0 \u00a0 \u00a0\u00a0# API\u8bf7\u6c42\u4ee3\u7406\u5230\u540e\u7aef\u00a0 \u00a0 \u00a0 \u00a0\u00a0location\u00a0\/api\/ {\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_pass\u00a0http:\/\/testhub-backend:8000;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_http_version\u00a01.1;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Upgrade\u00a0$http_upgrade;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Connection\u00a0&#039;upgrade&#039;;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Host\u00a0$host;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Real-IP\u00a0$remote_addr;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Forwarded-For\u00a0$proxy_add_x_forwarded_for;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Forwarded-Proto\u00a0$scheme;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_cache_bypass\u00a0$http_upgrade;\u00a0 \u00a0 \u00a0 \u00a0 }\u00a0 \u00a0 \u00a0 \u00a0\u00a0# \u5a92\u4f53\u6587\u4ef6\u4ee3\u7406\u5230\u540e\u7aef\u00a0 \u00a0 \u00a0 \u00a0\u00a0location\u00a0\/media\/ {\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_pass\u00a0http:\/\/testhub-backend:8000;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_http_version\u00a01.1;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Upgrade\u00a0$http_upgrade;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Connection\u00a0&#039;upgrade&#039;;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Host\u00a0$host;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Real-IP\u00a0$remote_addr;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Forwarded-For\u00a0$proxy_add_x_forwarded_for;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Forwarded-Proto\u00a0$scheme;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_cache_bypass\u00a0$http_upgrade;\u00a0 \u00a0 \u00a0 \u00a0 }\u00a0 \u00a0 \u00a0 \u00a0\u00a0# \u9759\u6001\u6587\u4ef6\u4ee3\u7406\u5230\u540e\u7aef\u00a0 \u00a0 \u00a0 \u00a0\u00a0location\u00a0\/static\/ {\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_pass\u00a0http:\/\/testhub-backend:8000;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_http_version\u00a01.1;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Upgrade\u00a0$http_upgrade;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Connection\u00a0&#039;upgrade&#039;;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0Host\u00a0$host;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Real-IP\u00a0$remote_addr;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Forwarded-For\u00a0$proxy_add_x_forwarded_for;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_set_header\u00a0X-Forwarded-Proto\u00a0$scheme;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0proxy_cache_bypass\u00a0$http_upgrade;\u00a0 \u00a0 \u00a0 \u00a0 }\u00a0 \u00a0 }}<\/p>\n<p style=\"text-align:left\">run.sh<\/p>\n<p> #!\/bin\/bashset\u00a0-eBASE_DIR&#061;&#034;\/testhub&#034;cd\u00a0&#034;$BASE_DIR&#034;# \u521b\u5efa\u7f51\u7edcdocker network create testhub-net 2&gt;\/dev\/null ||\u00a0echo\u00a0&#034;Network already exists&#034;# 1. \u6784\u5efa\u540e\u7aef\u955c\u50cfecho\u00a0&#034;Building backend image&#8230;&#034;docker build -f Dockerfile.backend -t testhub-backend:latest .# 2. \u6784\u5efa\u524d\u7aef\u955c\u50cfecho\u00a0&#034;Building frontend image&#8230;&#034;docker build -f Dockerfile.frontend -t testhub-frontend:latest .# 3. \u505c\u6b62\u5e76\u5220\u9664\u65e7\u5bb9\u5668docker stop testhub-backend testhub-nginx 2&gt;\/dev\/null ||\u00a0truedocker\u00a0rm\u00a0testhub-backend testhub-nginx 2&gt;\/dev\/null ||\u00a0true# 4. \u542f\u52a8\u540e\u7aefecho\u00a0&#034;Starting backend container&#8230;&#034;docker run -d &#8211;name testhub-backend \\\\\u00a0 &#8211;restart&#061;always \\\\\u00a0 -p 8000:8000 \\\\\u00a0 &#8211;network testhub-net \\\\\u00a0 -v\u00a0&#034;$BASE_DIR\/.env:\/app\/.env:ro&#034;\u00a0\\\\\u00a0 -v\u00a0&#034;$BASE_DIR\/media:\/app\/media&#034;\u00a0\\\\\u00a0 -v\u00a0&#034;$BASE_DIR\/logs:\/app\/logs&#034;\u00a0\\\\\u00a0 -v\u00a0&#034;$BASE_DIR\/static:\/app\/static&#034;\u00a0\\\\\u00a0 testhub-backend:latest# 5. \u542f\u52a8\u524d\u7aef&#xff08;nginx&#xff09;echo\u00a0&#034;Starting frontend container&#8230;&#034;docker run -d \\\\\u00a0 &#8211;name testhub-nginx \\\\\u00a0 &#8211;restart&#061;always \\\\\u00a0 &#8211;network testhub-net \\\\\u00a0 -p 80:80 \\\\\u00a0 -v \/testhub\/nginx.conf:\/etc\/nginx\/conf.d\/default.conf:ro \\\\\u00a0 -v \/testhub\/media:\/app\/media:ro \\\\\u00a0 -v \/testhub\/static:\/app\/static:ro \\\\\u00a0 testhub-frontend:latestecho\u00a0&#034;TestHub is running -&gt; http:\/\/localhost&#034;<\/p>\n<p style=\"text-align:left\">\u53cd\u6b63\u4e0a\u9762\u8fd9\u4e9b\u811a\u672c\u90fd\u662fAI\u751f\u6210\u7684&#xff0c;\u81ea\u5df1\u8bd5\u4e86\u4e00\u4e0b\u662f\u53ef\u4ee5\u7528\u7684&#xff0c;\u5982\u679c\u6709\u770b\u4e0d\u61c2\u7684&#xff0c;\u5927\u5bb6\u53ef\u4ee5\u81ea\u5df1\u518d\u95eeai&#xff0c;\u6709\u95ee\u9898\u7684\u8bdd\u8fd8\u53ef\u4ee5\u627eai\u53cd\u9988\u4e00\u4e0b\u3002<\/p>\n<p style=\"text-align:left\">\u8fd8\u6ca1\u6709\u62ff\u5230\u6e90\u7801\u7684\u5c0f\u4f19\u4f34&#xff0c;\u4ee5\u53ca\u8fd8\u6ca1\u6709\u8fdb\u4ea4\u6d41\u7fa4\u7684&#xff0c;\u90fd\u53ef\u4ee5\u6dfb\u52a0\u4e0b\u9762\u7684\u5fae\u4fe1\u5594&#xff1a;<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260802233240-6a6fd398351ae.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TestHub\u6d4b\u8bd5\u5e73\u53f0\u6b63\u5f0f\u5f00\u6e90&#xff0c;\u6587\u672b\u83b7\u53d6\u5b8c\u6574\u6e90\u7801\u6700\u8fd1\u8fd9\u6bb5\u65f6\u95f4&#xff0c;\u4e00\u4e2a\u540d\u4e3aTestHub\u7684\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0\u5728\u6d4b\u8bd5\u5708\u5b50\u6084\u7136\u5d1b\u8d77&#xff0c;\u4e4b\u524d\u53ea\u662f\u5728\u672c\u5730\u8fd0\u884c\u4e86\u4e0b\u770b\u4e86\u4e0b\u9875\u9762\u6548\u679c&#xff0c;\u9875\u9762\u8fd8\u662f\u975e\u5e38\u6f02\u4eae\u7684\u3002\u4eca\u5929\u62bd\u65f6\u95f4\u7814\u7a76\u4e86\u4e00\u4e0b\u5728\u670d\u52a1\u5668\u4e0a\u53bb\u90e8\u7f72\u8fd9\u4e2a\u9879\u76ee&#xff0c;\u5f53\u7136&#xff0c;\u5927\u90e8\u5206\u90fd\u662f\u501f\u52a9AI\u53bb\u5e2e\u6211\u5b8c\u6210\u7684\u3002\u56e0\u4e3a\u5e73\u53f0\u6280\u672f\u6808\u7528\u5230\u4e86Django  Vue3 &#xff0c;\u6570\u636e\u5e93\u7528\u7684\u662fmysql&#xff0c;\u56e0\u6b64&#xff0c;\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u600e\u4e48<\/p>\n","protected":false},"author":2,"featured_media":89518,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227,43,44],"topic":[],"class_list":["post-89519","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-227","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/89519.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"TestHub\u6d4b\u8bd5\u5e73\u53f0\u6b63\u5f0f\u5f00\u6e90&#xff0c;\u6587\u672b\u83b7\u53d6\u5b8c\u6574\u6e90\u7801\u6700\u8fd1\u8fd9\u6bb5\u65f6\u95f4&#xff0c;\u4e00\u4e2a\u540d\u4e3aTestHub\u7684\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0\u5728\u6d4b\u8bd5\u5708\u5b50\u6084\u7136\u5d1b\u8d77&#xff0c;\u4e4b\u524d\u53ea\u662f\u5728\u672c\u5730\u8fd0\u884c\u4e86\u4e0b\u770b\u4e86\u4e0b\u9875\u9762\u6548\u679c&#xff0c;\u9875\u9762\u8fd8\u662f\u975e\u5e38\u6f02\u4eae\u7684\u3002\u4eca\u5929\u62bd\u65f6\u95f4\u7814\u7a76\u4e86\u4e00\u4e0b\u5728\u670d\u52a1\u5668\u4e0a\u53bb\u90e8\u7f72\u8fd9\u4e2a\u9879\u76ee&#xff0c;\u5f53\u7136&#xff0c;\u5927\u90e8\u5206\u90fd\u662f\u501f\u52a9AI\u53bb\u5e2e\u6211\u5b8c\u6210\u7684\u3002\u56e0\u4e3a\u5e73\u53f0\u6280\u672f\u6808\u7528\u5230\u4e86Django Vue3 &#xff0c;\u6570\u636e\u5e93\u7528\u7684\u662fmysql&#xff0c;\u56e0\u6b64&#xff0c;\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u600e\u4e48\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/89519.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-02T23:32:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260802233240-6a6fd398351ae.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/89519.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/89519.html\",\"name\":\"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-02T23:32:41+00:00\",\"dateModified\":\"2026-08-02T23:32:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/89519.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/89519.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/89519.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/89519.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"TestHub\u6d4b\u8bd5\u5e73\u53f0\u6b63\u5f0f\u5f00\u6e90&#xff0c;\u6587\u672b\u83b7\u53d6\u5b8c\u6574\u6e90\u7801\u6700\u8fd1\u8fd9\u6bb5\u65f6\u95f4&#xff0c;\u4e00\u4e2a\u540d\u4e3aTestHub\u7684\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0\u5728\u6d4b\u8bd5\u5708\u5b50\u6084\u7136\u5d1b\u8d77&#xff0c;\u4e4b\u524d\u53ea\u662f\u5728\u672c\u5730\u8fd0\u884c\u4e86\u4e0b\u770b\u4e86\u4e0b\u9875\u9762\u6548\u679c&#xff0c;\u9875\u9762\u8fd8\u662f\u975e\u5e38\u6f02\u4eae\u7684\u3002\u4eca\u5929\u62bd\u65f6\u95f4\u7814\u7a76\u4e86\u4e00\u4e0b\u5728\u670d\u52a1\u5668\u4e0a\u53bb\u90e8\u7f72\u8fd9\u4e2a\u9879\u76ee&#xff0c;\u5f53\u7136&#xff0c;\u5927\u90e8\u5206\u90fd\u662f\u501f\u52a9AI\u53bb\u5e2e\u6211\u5b8c\u6210\u7684\u3002\u56e0\u4e3a\u5e73\u53f0\u6280\u672f\u6808\u7528\u5230\u4e86Django Vue3 &#xff0c;\u6570\u636e\u5e93\u7528\u7684\u662fmysql&#xff0c;\u56e0\u6b64&#xff0c;\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u600e\u4e48","og_url":"https:\/\/www.wsisp.com\/helps\/89519.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-02T23:32:41+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260802233240-6a6fd398351ae.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/89519.html","url":"https:\/\/www.wsisp.com\/helps\/89519.html","name":"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-02T23:32:41+00:00","dateModified":"2026-08-02T23:32:41+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/89519.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/89519.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/89519.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728\u670d\u52a1\u5668\u4e2d\u90e8\u7f72TestHub\u5f00\u6e90\u6d4b\u8bd5\u5e73\u53f0"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/89519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=89519"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/89519\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/89518"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=89519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=89519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=89519"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=89519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}