# FinancialJin **Repository Path**: Jineon/FinancialJin ## Basic Information - **Project Name**: FinancialJin - **Description**: 19级计科本科毕业设计 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-05-14 - **Last Updated**: 2023-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: MyBatis, Vue ## README # FinancialJin - 瑾融通 - 项目启动流程 ## 接口管理 ### 测试接口 [http://localhost:8110/doc.html](http://localhost:8110/doc.html) [http://localhost:8110/swagger-ui.html](http://localhost:8110/swagger-ui.html) ### 后台接口 [http://localhost:9528](http://localhost:9528/#/core/user-info/list) ### 前台接口 [http://localhost:3000](http://localhost:3000/user) ## 启动管理 ### 微服务网关 **代替nginx**,8088 访问测试:[http://localhost:8088/service-core/admin/core/integralGrade/list](http://localhost:8088/service-core/admin/core/integralGrade/list) #### nginx启动 (已替换) 1. 寻找:F:\java_code\JINdemo01\nginx-1.18.0\nginx-1.18.0 2. cmd打开 3. 输入启动命令 ``` start nginx #启动 nginx -s stop #停止 nginx -s reload #重新加载配置 ``` ### 后端启动 1. 打开service - core /src /main /java /com /jin /FinancialJin /core/ ServiceCoreApplication.java 文件 2. 运行启动 3. 可在services管理中同时启动四个微服务 4. 打开汇付宝,启动 ### 前端启动 1. 打开 - 后台管理系统:F:\java_code\JINdemo01\front\FinancialJin-admin\admin-template-permission-control  选择在集成终端中打开 - 前台页面系统:F:\java_code\JINdemo01\front\FinancialJin-site 选择在集成终端中打开 2. 输入启动命令 ``` #node.js版本过高,需要添加一个环境变量 $env:NODE_OPTIONS="--openssl-legacy-provider" #启动 npm run dev ``` ### redis启动 官网 :[http://redis.cn/download.html](http://redis.cn/download.html) linux常用命令:[https://blog.csdn.net/m0_54634272/article/details/124570113](https://blog.csdn.net/m0_54634272/article/details/124570113) 参考文档:[https://github.com/blizzawang/srb](https://github.com/blizzawang/srb) #### 步骤 ```java //启动虚拟机:rootu password:lijin1102 //打开命令行操作,获取根用户权限 su //检查docker docker ps //显示id docker restart dd3568fce941 //启动 myRedis docker update redis --restart=always //设置随docker启动redis //关闭centos防火墙,否则会连接不上 systemctl stop firewalld.service //启动redis助手,查看redis服务是否开启 密码:111111 host: 192.168.40.129 //ifconfig -a port: 6379 ``` - 帮助命令 ``` ifconfig -a #查看ip docker ps #显示id docker exec -it dd3568fce941 redis-cli #根据具体id启动客户端 quit #退出 requirepass 111111 #密码 docker restart dd3568fce941 #启动 myRedis 启动虚拟机:rootu password:lijin1102 启动redis助手,查看redis服务是否开启 ``` ### Nacos启动 > 默认端口8848被占用,改为8858 [http://127.0.0.1:8858/nacos](http://127.0.0.1:8858/nacos) ```java //在F:\java_code\JINdemo01\nacos\bin下进入cmd startup.cmd -m standalone //访问 http://127.0.0.1:8858/nacos //用户名 nacos //密码 nacos ``` ## 服务管理 ### 阿里云短信服务 签名:FinancialJin 模板:SMS_460766038 AccessKey ID: ``` LTAI5tNMGi1i5ERjxygXJf8Y ``` AccessKey Secret ``` dqHPVFfs9UfzxMecDE1hDDQgfAB9lr ``` ``` 用户登录名称 lijin@1227011238108125.onaliyun.com AccessKey ID LTAI5tNMGi1i5ERjxygXJf8Y AccessKey Secret dqHPVFfs9UfzxMecDE1hDDQgfAB9lr ``` ``` https://help.aliyun.com/document_detail/160024.html?spm=5176.25163407.help.dexternal.256abb6eFKFppL&scm=20140722.S_help%40%40%E6%96%87%E6%A1%A3%40%40160024.S_0%2Bos0%2BRQWalgo0.ID_160024-RL_%E7%9F%AD%E4%BF%A1%E6%9C%8D%E5%8A%A1api%E5%8F%82%E8%80%83-LOC_consoleUNDmoreUNDhelp-OR_ser-V_2-P0_2 ``` ### 阿里云oss服务 示例图片地址:[https://financialjin-file.oss-cn-beijing.aliyuncs.com/DEMO/2023/05/18/1882af4d-9233-4975-b699-745939acba57.jpg](https://financialjin-file.oss-cn-beijing.aliyuncs.com/DEMO/2023/05/18/1882af4d-9233-4975-b699-745939acba57.jpg) ```java String endpoint = "oss-cn-beijing.aliyuncs.com"; String accessKeyId = "LTAI5tNMGi1i5ERjxygXJf8Y"; String accessKeySecret = "dqHPVFfs9UfzxMecDE1hDDQgfAB9lr"; String bucketName = "financialjin-file"; ```