# ordersystem **Repository Path**: kewyj/ordersystem ## Basic Information - **Project Name**: ordersystem - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-4-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-27 - **Last Updated**: 2025-12-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ordersystem #### 介绍 私人厨房管理系统后台 #### 软件架构 Web后台服务 * [docker-compose]部署 * [网关](https://docs.waf-ce.chaitin.cn/) * [数据库](https://www.mysql.com/) * [redis](https://www.redis.com/) * [消息队列](https://nsq.io/overview/design.html) * [支付SDK](https://github.com/go-pay/gopay) * [限流](https://github.com/uber-go/ratelimit) #### 开发特性 * **用户管理** * 微信手机号绑定注册登录 * 用户角色权限管理 * **用户订单管理** * 用户菜品订单管理 * **菜品管理** * 菜品增删改查 * 菜品下单 * **菜谱管理** * 菜谱增删改查 * 菜谱关联菜品 * **模拟下单** * 模拟购物车下单,不需要支付系统 * **搜索菜谱** * 选择平台(抖音、小红书) * **膳食计划** * 指定个人膳食计划 * **膳食文章** * **统计中心** * 统计用户量 * 统计菜品、菜谱数量 * **抖音小红书视频导入** https://github.com/Evil0ctal/Douyin_TikTok_Download_API #### 公网服务器 IP :39.97.233.216 账号密码: root/kw504039/+_ MySQL账号密码: root/pass123$%^ #### nginx编译命令 yum install pcre pcre-devel zlib zlib-devel openssl openssl-devel gperftools gperftools-devel perl-ExtUtils-Embed perl perl-devel # 生产环境使用 ./configure --prefix=/opt/xxx/xxx --user=zdsoft --group=zdsoft --with-compat --with-debug --with-file-aio --with-google_perftools_module --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_degradation_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-mail=dynamic --with-mail_ssl_module --with-pcre --with-pcre-jit --with-stream=dynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie' #### 防火墙 # 查看所有规则 sudo firewall-cmd --list-all # 查看开放的端口 sudo firewall-cmd --list-ports # 查看允许的服务 sudo firewall-cmd --list-services # 开放 TCP 端口 sudo firewall-cmd --add-port=80/tcp # 开放 UDP 端口 sudo firewall-cmd --add-port=53/udp # 永久开放 TCP 端口 sudo firewall-cmd --permanent --add-port=80/tcp # 永久开放 UDP 端口 sudo firewall-cmd --permanent --add-port=53/udp # 重新加载防火墙配置 sudo firewall-cmd --reload # 临时开放端口范围 sudo firewall-cmd --add-port=8000-8080/tcp # 永久开放端口范围 sudo firewall-cmd --permanent --add-port=8000-8080/tcp sudo firewall-cmd --reload # 查看所有预定义服务 sudo firewall-cmd --get-services # 开放 HTTP 服务(端口 80) sudo firewall-cmd --permanent --add-service=http sudo firewall-cmd --reload # 开放 HTTPS 服务(端口 443) sudo firewall-cmd --permanent --add-service=https sudo firewall-cmd --reload # 开放 SSH 服务(端口 22) sudo firewall-cmd --permanent --add-service=ssh sudo firewall-cmd --reload #### 数据库 修改密码: ALTER USER 'root'@'localhost' IDENTIFIED BY 'pass123'; FLUSH PRIVILEGES; 修改连接权限: create user if not exists 'root'@'%' identified by 'pass123'; grant all privileges on *.* to 'root'@'%' with grant option; flush privileges;