Jeecgboot服务部署
项目结构简介
![](https://imgkr2.cn-bj.ufileos.com/742c818d-dde9-4b73-952c-1c59ad680f78.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=1I95gmoJUYDU7Duocj9MF3Gp9Z0%253D&Expires=1604474364)
生成代码
点击新增按钮
![](https://imgkr2.cn-bj.ufileos.com/39710610-0fb2-4cb3-a923-b837f50a93b4.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=6vh159ys6w2T8pSk2mwr20yr%252BqI%253D&Expires=1604474417)
填写表信息
![](https://imgkr2.cn-bj.ufileos.com/1c623261-2f3f-4e0e-a2dc-a2f8173d27a0.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=I0ox8gTsDbwgf%252FvuCnjj75eR2aU%253D&Expires=1604474483)
点击同步数据库按钮
![](https://imgkr2.cn-bj.ufileos.com/90245b75-7da4-4bc1-a78f-27cfb956bd05.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=9S5eoUbj3h5zeY771Tdi0pHmOBE%253D&Expires=1604474567)
![](https://imgkr2.cn-bj.ufileos.com/0d78808f-bb1d-4746-a17f-2c99f30d01ac.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=Onw1LIQOm8GQ7juF6AhbnYv3zw8%253D&Expires=1604474575)
同步成功 页面显示已同步
![](https://imgkr2.cn-bj.ufileos.com/bebea6db-4cda-40aa-bf67-df93f135ff75.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=FMEj8JazAscj55vQ9J%252BK%252Ffy6FkU%253D&Expires=1604474618)
确认下数据库是否已生成这个表
![](https://imgkr2.cn-bj.ufileos.com/94b866d7-eabc-4f17-a93f-e4d0ac5fabbf.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=CKOJYg3ADAkomhyitVtGb2YzcDw%253D&Expires=1604474669)
生成对应的代码
配置生成文件的路径
![](https://imgkr2.cn-bj.ufileos.com/c69f526d-4e01-4177-ab61-628e292d1741.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=xk5sIi%252F1f4wdXvlgFyHUcASLdJM%253D&Expires=1604474940)
点击生成代码按钮
![](https://imgkr2.cn-bj.ufileos.com/f53d072c-9b06-4225-8879-14e5a76718eb.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=qMbTPPsGsY5EyRJIzhurqs%252Fyulo%253D&Expires=1604474775)
![](https://imgkr2.cn-bj.ufileos.com/de35e83e-3d67-4b54-8ef4-a91d26d5b0dd.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=rYwoTgMX9LQ2n0m1xxp0Rq2RDbY%253D&Expires=1604474885)
![](https://imgkr2.cn-bj.ufileos.com/b69f031d-f626-4238-bddc-d2a3c164dc9e.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=yb%252F8SFX1E3V9l674EEDTLfRU8vw%253D&Expires=1604475431)
生成的效果
![](https://imgkr2.cn-bj.ufileos.com/182697d2-9967-461b-9fb8-8375db5553f5.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=3251IYLFTZ0yPVir1FrZ0Rmd2e4%253D&Expires=1604475498)
将生成的vue代码 复制到vue项目中
![](https://imgkr2.cn-bj.ufileos.com/8d172bb3-5453-4c37-bcba-df7b4b4c1eb6.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=CppJIDMveITakSvBLYWkq%252B2hQYE%253D&Expires=1604475777)
![](https://imgkr2.cn-bj.ufileos.com/d80965b9-5507-4d57-9848-90e6a1ce1f2f.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=HG%252BESDqIChQX6ayZBj04BxypDpE%253D&Expires=1604476027)
接口文档
在线文档
Swagger-ui
http://192.168.50.100:8080/jeecg-boot/swagger-ui.html
![](https://imgkr2.cn-bj.ufileos.com/19412d18-e5c9-4275-83a8-d5cb8245aeb9.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=ystvu1BJBtdJDX13un%252BmUSQTpSU%253D&Expires=1604478376)
Doc文档
http://192.168.50.100:8080/jeecg-boot/doc.html
![](https://imgkr2.cn-bj.ufileos.com/fa5a23b6-a42e-4803-9cd2-fd82fe969edb.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=468gWrmDay%252BUOaVw5PVJPcOz0wU%253D&Expires=1604478334)
离线文档
![](https://imgkr2.cn-bj.ufileos.com/98697fb7-0ca5-4c57-a94c-d50a55fd42d2.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=rgLa77M2Pi9yekXMmLWv5Kx3a98%253D&Expires=1604478500)
前端配置后台API地址
![](https://imgkr2.cn-bj.ufileos.com/3230cda7-1001-4180-a5fc-b24e856e6796.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=bT85nOoE9arZVUqtHNQZgh0Ic9g%253D&Expires=1604496677)
![](https://imgkr2.cn-bj.ufileos.com/23fb1f35-4aec-40ec-80d4-bece74c78310.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=37wo1Bbh5ZLqvmyX6xcv1HTGcEE%253D&Expires=1604496778)
![](https://imgkr2.cn-bj.ufileos.com/1c3a6df7-7556-4dca-bd7e-b37d317e1d88.png?UCloudPublicKey=TOKEN_8d8b72be-579a-4e83-bfd0-5f6ce1546f13&Signature=FtzPxct1Af1yjBzg2IZfzOBx1vo%253D&Expires=1604496871)
maven私服配置
JEECG存在自定义JAR包,放在自己的Maven私服上面,所以有的时候会遇到下载失败 找到 maven conf/settings.xml 在标签内增加下面方式的阿里云maven镜像
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*,!jeecg,!jeecg-snapshots,!getui-nexus</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
此配置重点在这句话*,!jeecg,!jeecg-snapshots 如果不加这句话,默认所有的依赖都会去阿里云仓库下载,加上后jeecg的依赖包就可以从jeecg私服下载了