2023-03-28 13:14:40 +08:00
|
|
|
|
还要做的部分
|
|
|
|
|
|
2023-04-17 18:46:15 +08:00
|
|
|
|
小程序提审要做的:
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
2023-04-17 18:46:15 +08:00
|
|
|
|
小程序扫门禁码之后门禁开门(扫码 websocket 推到门禁端),小程序端显示开门成功
|
|
|
|
|
|
|
|
|
|
项目部署到服务器
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-16 16:56:56 +08:00
|
|
|
|
小程序端用户头像
|
|
|
|
|
|
2023-04-16 00:20:09 +08:00
|
|
|
|
大门 人员进出 后台管理(进出日志)
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
2023-04-16 00:20:09 +08:00
|
|
|
|
后台订单管理页
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
2023-04-17 23:15:43 +08:00
|
|
|
|
每个人创建账号的时候填充一些测试数据进去
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
2023-04-16 00:20:09 +08:00
|
|
|
|
门禁端左侧提示文字修改
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
|
|
|
|
后台管理两个端分开
|
|
|
|
|
|
2023-04-16 16:56:56 +08:00
|
|
|
|
后台管理 按照id进行筛选
|
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
发给老班看一看
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
|
|
|
|
数据库填充测试数据(以及创建一些测试账号)并备份,线上演示数据修改删除避免真删
|
|
|
|
|
|
2023-04-16 16:56:56 +08:00
|
|
|
|
项目中的TODO
|
|
|
|
|
|
|
|
|
|
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
更多:
|
|
|
|
|
|
|
|
|
|
完成项目代码中的 TODO 部分
|
|
|
|
|
|
|
|
|
|
身份码后端接口考虑与其他系统的集成逻辑
|
|
|
|
|
|
|
|
|
|
Java代码中小程序AppID、密钥处理,小程序代码中小程序AppID处理
|
|
|
|
|
|
|
|
|
|
|
2023-04-25 01:41:23 +08:00
|
|
|
|
# TODO 全部域名配置的地方添加 FIXME 环境配置
|
|
|
|
|
|
|
|
|
|
|
2023-04-25 02:17:19 +08:00
|
|
|
|
# VSCode 全局搜索排除
|
|
|
|
|
|
|
|
|
|
node_modules,./postman-collection,target,out,.idea,@deprecated
|
|
|
|
|
|
2023-04-22 17:18:24 +08:00
|
|
|
|
# host 文件地址
|
|
|
|
|
|
|
|
|
|
C:\Windows\System32\drivers\etc
|
|
|
|
|
|
|
|
|
|
配置项
|
|
|
|
|
|
|
|
|
|
127.0.0.1 epp.only4.work
|
|
|
|
|
127.0.0.1 epp-prod.only4.work
|
|
|
|
|
|
|
|
|
|
查看配置
|
|
|
|
|
|
|
|
|
|
ping epp.only4.work
|
|
|
|
|
ping epp-prod.only4.work
|
|
|
|
|
|
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
|
|
|
|
# 后端项目启动命令
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
; /www/wwwroot/env/jdk-11/bin/java -jar -Xmx1024M -Xms256M /www/wwwroot/workspace/microservice-gateway-0.0.1-SNAPSHOT.jar --server.port=7087
|
|
|
|
|
/www/wwwroot/env/jdk-11/bin/java -jar -Xmx512M -Xms128M -Dspring.profiles.active=production -Dserver.port=8000 /www/wwwroot/workspace/microservice-gateway-0.0.1-SNAPSHOT.jar
|
|
|
|
|
/www/wwwroot/env/jdk-11/bin/java -jar -Xmx512M -Xms128M -Dspring.profiles.active=production /www/wwwroot/workspace/microservice-provider-user-8001-0.0.1-SNAPSHOT.jar
|
|
|
|
|
/www/wwwroot/env/jdk-11/bin/java -jar -Xmx512M -Xms128M -Dspring.profiles.active=production /www/wwwroot/workspace/microservice-provider-access-8002-0.0.1-SNAPSHOT.jar
|
|
|
|
|
/www/wwwroot/env/jdk-11/bin/java -jar -Xmx512M -Xms128M -Dspring.profiles.active=production /www/wwwroot/workspace/microservice-provider-shop-8003-0.0.1-SNAPSHOT.jar
|
|
|
|
|
|
|
|
|
|
java -jar -Xmx512M -Xms128M -Dspring.profiles.active=develop ./microservice-gateway-0.0.1-SNAPSHOT.jar
|
|
|
|
|
java -jar -Xmx512M -Xms128M -Dspring.profiles.active=develop ./microservice-provider-user-8001-0.0.1-SNAPSHOT.jar
|
|
|
|
|
java -jar -Xmx512M -Xms128M -Dspring.profiles.active=develop ./microservice-provider-access-8002-0.0.1-SNAPSHOT.jar
|
|
|
|
|
java -jar -Xmx512M -Xms128M -Dspring.profiles.active=develop ./microservice-provider-shop-8003-0.0.1-SNAPSHOT.jar
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# BT宝塔登录密钥
|
|
|
|
|
|
|
|
|
|
==================================================================
|
|
|
|
|
外网面板地址: http://106.75.217.14:18734/107bb99c
|
|
|
|
|
内网面板地址: http://10.23.189.141:18734/107bb99c
|
|
|
|
|
username: qmud57rc
|
|
|
|
|
password: 80347b8d
|
|
|
|
|
If you cannot access the panel,
|
|
|
|
|
release the following panel port [18734] in the security group
|
|
|
|
|
若无法访问面板,请检查防火墙/安全组是否有放行面板[18734]端口
|
|
|
|
|
==================================================================
|
|
|
|
|
|
|
|
|
|
|
2023-04-15 23:47:18 +08:00
|
|
|
|
|
2023-04-13 22:07:05 +08:00
|
|
|
|
# IP 配置
|
|
|
|
|
|
2023-04-18 04:00:42 +08:00
|
|
|
|
develop
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-15 23:56:15 +08:00
|
|
|
|
内网穿透:106.75.217.14
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-18 04:00:42 +08:00
|
|
|
|
nacos:http://106.75.217.14:8488/nacos/index.html
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-13 22:07:05 +08:00
|
|
|
|
数据库:本地
|
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
|
|
|
|
|
2023-04-18 04:00:42 +08:00
|
|
|
|
production
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-18 04:00:42 +08:00
|
|
|
|
nacos:http://106.75.217.14:8488/nacos/index.html
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-18 04:00:42 +08:00
|
|
|
|
数据库:服务器上
|
|
|
|
|
|
2023-04-13 22:07:05 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
|
|
|
|
|
2023-04-04 01:06:22 +08:00
|
|
|
|
# QCloud
|
|
|
|
|
|
|
|
|
|
主账号ID 100014397291
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-04 01:06:22 +08:00
|
|
|
|
用户名 epp
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-04 01:06:22 +08:00
|
|
|
|
登录密码 -
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-04 01:06:22 +08:00
|
|
|
|
SecretId AKIDSkmeXTHsTqzwe8ZDiGcomW4OYXcZIerp
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-04 01:06:22 +08:00
|
|
|
|
SecretKey 22sVt494mGZeV7sQkqwxnNjneHesqXxA
|
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
|
|
|
|
|
2023-03-22 15:01:41 +08:00
|
|
|
|
# 门禁端网页
|
|
|
|
|
|
|
|
|
|
https://epp.only4.work/access/index.html
|
2023-04-19 01:03:54 +08:00
|
|
|
|
|
2023-04-18 04:00:42 +08:00
|
|
|
|
https://epp-prod.only4.work/access/index.html
|
2023-03-22 15:01:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-03-17 23:26:25 +08:00
|
|
|
|
# 启动远程 Nacos
|
|
|
|
|
|
|
|
|
|
> /www/wwwserv/epp/nacos/conf/application.properties port 改为 8488
|
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
```
|
2023-03-17 23:26:25 +08:00
|
|
|
|
cd /www/wwwserv/epp/nacos/bin
|
|
|
|
|
bash startup.sh -m standalone
|
|
|
|
|
bash shutdown.sh
|
2023-04-19 01:03:54 +08:00
|
|
|
|
```
|
2023-03-17 23:26:25 +08:00
|
|
|
|
|
|
|
|
|
http://106.75.217.14:8488/nacos/index.html
|
|
|
|
|
nacos
|
|
|
|
|
socan
|
|
|
|
|
|
2023-03-18 17:52:56 +08:00
|
|
|
|
|
|
|
|
|
|
2023-03-17 23:26:25 +08:00
|
|
|
|
# 启动本地 Nacos
|
2023-03-18 17:52:56 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
```bash
|
2023-03-16 17:03:54 +08:00
|
|
|
|
E:
|
|
|
|
|
cd E:\nacos\bin
|
|
|
|
|
startup.cmd -m standalone
|
2023-04-19 01:03:54 +08:00
|
|
|
|
```
|
2023-03-16 17:03:54 +08:00
|
|
|
|
|
2023-03-18 17:52:56 +08:00
|
|
|
|
|
|
|
|
|
|
2023-03-17 04:55:02 +08:00
|
|
|
|
# 内网穿透
|
2023-03-18 17:52:56 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
```bash
|
2023-03-17 04:55:02 +08:00
|
|
|
|
cd E:\Project\毕业设计\epp\intranet-penetration\bin
|
|
|
|
|
rathole.exe ../conf/client.toml
|
2023-04-19 01:03:54 +08:00
|
|
|
|
```
|
2023-03-18 17:52:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
**项目亮点**:
|
2023-03-18 17:52:56 +08:00
|
|
|
|
|
2023-03-20 23:34:59 +08:00
|
|
|
|
订单id使用 雪花id(可以分布式部署)
|
2023-03-19 17:39:50 +08:00
|
|
|
|
|
|
|
|
|
|
2023-03-16 17:03:54 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
**项目开发中遇到的问题**:
|
2023-03-17 01:47:20 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
nacos CPU占满问题,解决方案:提issue,多次测试,找到问题(HTTPDebug),问题解决
|
2023-03-17 01:47:20 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
iPhone部分版本不支持webp格式图片
|
2023-03-16 17:03:54 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
小程序双端不一致的问题,参数转义,页面CSS样式是不完全一样的。
|
2023-03-16 17:03:54 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
-----
|
2022-11-27 21:01:38 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
Nacos CPU 跑满问题 我提的 GitHub issue
|
2022-11-28 18:36:52 +08:00
|
|
|
|
|
2023-04-19 01:03:54 +08:00
|
|
|
|
https://github.com/alibaba/nacos/issues/10080
|