添加前端代码和FRP配置文件

This commit is contained in:
2026-01-30 09:00:26 +08:00
parent c09ce065fe
commit 3fe395b8d5
41 changed files with 4341 additions and 0 deletions

35
frp/frpc.ini Normal file
View File

@@ -0,0 +1,35 @@
# FRP 客户端配置文件 - 宠物医院管理系统
# 请根据实际情况修改服务器地址和端口
[common]
# FRP 服务器地址 (公网服务器IP或域名)
server_addr = your_server_ip_or_domain
# FRP 服务器端口
server_port = 7000
# 通信密钥 (需与服务器端保持一致)
token = your_token_here
# 前端服务穿透 - Vue开发服务器
[web_frontend]
type = http
local_port = 5173
custom_domains = hospital.yourdomain.com
# 替换为实际的域名
# 后端服务穿透 - Spring Boot应用
[web_backend]
type = tcp
local_port = 8081
remote_port = 8081
# 如果需要HTTPS支持
[web_frontend_https]
type = https
local_port = 5173
custom_domains = hospital.yourdomain.com
# 管理面板 (如果需要远程管理)
[dashboard]
type = tcp
local_port = 7500
remote_port = 7500