# 项目结构 ``` ├─smartschool-platform │ │ │ ├─applications-----------------------------业务应用 │ | ├─school--------------------------------后台业务 │ | | |─school-api-------------------------后台业务api │ | | |─school.dto-------------------------后台通用数据传输对象 │ | | |─school-server----------------------后台通用服务 │ | ├─device--------------------------------设备对接 │ | | |─device-sdk-------------------------设备对接通用sdk │ | | |─device-sdk-dahua-------------------大华设备对接sdk │ | | |─device-server----------------------设备管理服务 │ | ├─wechat---------------------------------微信集成模块 │ | | |─wechat-api--------------------------微信集成api │ | | |─wechatdto--------------------------微信集成数据传输对象 │ | | |─wechat-server-----------------------微信集成服务 │ │ │ ├─base-servers-----------------------------基础服务 │ | ├─account-------------------------------账户中心 │ | | |─account-api------------------------账户中心api │ | | |─account-dto------------------------账户中心数据传输对象 │ | | |─account-server---------------------账户中心服务 │ | ├─eureka-server-------------------------服务注册中心 │ | ├─file----------------------------------文件服务 │ | | |─file-api---------------------------文件服务api │ | | |─file-dto---------------------------文件服务数据传输对象 │ | | |─file-server------------------------文件服务 │ | ├─gateway-server------------------------统一网关 │ | ├─sms-----------------------------------短信服务 │ | | |─sms-api----------------------------短信服务api │ | | |─sms-dto----------------------------短信服务数据传输对象 │ | | |─sms-server-------------------------短信服务 │ │ │ ├─doc--------------------------------------项目文档 │ │ │ ├─framework--------------------------------框架部分 │ | ├─core----------------------------------框架基础 │ | ├─server-starter------------------------服务启动辅助工具 │ | ├─test-starter--------------------------测试启动辅助工具 │ │ │ ├─frontend---------------------------------前端 │ | ├─wechat-web-----------------------微信前端 │ | ├─pc-web------------------------------后台系统前端(extjs) │ │ │ ├─script-----------------------------------脚本 │ | ├─mysql---------------------------------mysql脚本 │ | | |─init-------------------------------mysql数据库初始化脚本 │ │ ``` # 开发环境 > 数据库 | 数据库 | 类型 | 地址 | 账号 | 密码 | 说明 | | -------- | :-----: | :-----: | :----: | :----: | :------ | | smart_campus | mysql | 10.10.100.166:3306 | root | select111*** | 账户中心 | > 中间件 | 类型 | 地址 | 账号 | 密码 | 说明 | | ---- | :----: | :----: | :----: | ---- | | rabbitmq | 10.10.100.166:5672 | school | select123*** | 消息中间件 [控制台](http://10.10.100.166:15672)| | redis | 10.10.100.166:6379 | | | 内存数据库 | > 服务器 > 构建 * [jenkins](http://10.1.81.61:8080/job/saas/view/dev) **账号** admin **密码** select123*** > 服务 | 10.10.100.23 | root | 62cddbcc624b1b072d84117cc0e5a4db | CentOS7, Docker | Cpu: 40, Mem: 128G, Disk: 800G | | 10.10.100.24 | root | 4fd19c28ee472ef9ebc3c06de9277c1b | CentOS7, Docker | Cpu: 40, Mem: 128G, Disk: 800G | | 10.10.100.25 | root | 61a12a65cd42ef77a52dfef8e436bacc | CentOS7, Docker | Cpu: 40, Mem: 128G, Disk: 800G | | 10.10.100.26 | root | 8743e445c7a308edf4588b7997b21c73 | CentOS7, Docker | Cpu: 40, Mem: 128G, Disk: 800G | * [eureka http://10.1.81.61:8500](http://10.1.81.61:8500) **账号** admin **密码** select111*** * [gateway http://10.1.81.61:8560](http://10.1.81.61:8560) * [admin http://10.1.81.61:8520](http://10.1.81.61:8520) **账号** admin **密码** select111*** * [zipkin http://10.1.81.61:8540](http://10.1.81.61:8540) **账号** admin **密码** select111*** # 本地调试环境 > 服务 * [eureka http://10.10.100.23:9500/](http://10.1.81.61:8510) **账号** admin **密码** select111*** * [gateway http://10.10.100.23:9520/](http://10.1.81.61:8570) # 测试环境 > 构建 * [jenkins](http://10.10.100.200:5001/view/DevelopmentCenter/job/school/) **账号** admin **密码** select123*** #接口环境 ##优软环境接口 [智慧校园接口地址](https://school-api.ubtob.com) [微信端web](https://school-wechat.ubtob.com) [pc端web地址](https://school.ubtob.com) ##腾讯云环境接口 [智慧校园接口地址](https://school-api.ydyhz.com) [微信端web](https://school-wechat.ydyhz.com) [pc端web地址](https://school.ydyhz.com) #程序发布 1. 将代码合并至master,推送至远程 2. 登陆[jenkins](http://10.10.100.200:5001/view/DevelopmentCenter/job/school/) 3. 先构建smartschool-platform-prod任务,等任务正确构建完成,再构建其它剩余任务