update260119

This commit is contained in:
众产-王坤 2026-01-19 11:39:57 +08:00
parent ab69be8818
commit a34a4f1390
3 changed files with 462 additions and 411 deletions

View File

@ -112,18 +112,34 @@ https://ciyon.ciy.cn/
https://ciyon.ciy.cn/admin/
# 环境部署建议
# Windows开发环境部署
安装环境: Nginx、PHP8、MariaDB10、Golang
开发必备: Git、VSCode(Cursor、Claude Code等替代)、HBuilder、微信开发者工具
开发推荐: Navicat 17+、WinSCP5+、Chrome、Apifox、S3 Browser、Node.js
工具推荐: Notepad3、draw.io、XMind、Everything
安装Nginx
统一处理80/443端口
nginx关键配置(PHP):
server {
listen 443 ssl http2;
server_name ciyon.local.ciy.cn;
root D:/Dreams/ciy/ciyon/web;
include ssl_params;
include ciyon5_params;
}
安装MariaDB数据库
开启慢查询日志
nginx关键配置(Golang):
server {
listen 443 ssl http2;
server_name ciyongo.local.ciy.cn;
root D:/Dreams/ciy/ciyon/web;
include ssl_params;
set $ipport http://127.0.0.1:4003;
include ciyon5go_params;
}
PHP需配置PHP-fpm建议用PHP8
*.local.ciy.cn SSL证书下载 https://ciyon.ciy.cn/ud/install/ssl_local.zip
webserver打包下载 https://ciyon.ciy.cn/ud/install/webserver.zip
mariadb下载 https://ciyon.ciy.cn/ud/install/mariadb-10.5.10-winx64.msi
Golang虽然可以独立运行但建议Nginx转发
# Linux生产环境部署
IDE开发工具
PC端推荐用VSCode、Cursor
移动端推荐用Uniapp、VSCode

View File

@ -6,9 +6,9 @@ DROP TABLE IF EXISTS `ciy_arearpc`;
CREATE TABLE `ciy_arearpc` (
`id` int(11) NOT NULL COMMENT '代码',
`upid` int(11) NOT NULL COMMENT '上级代码',
`name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '地名',
`name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '地名',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '静态省市区表' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '静态省市区表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of ciy_arearpc

File diff suppressed because it is too large Load Diff