Browse Source

单开Swagger接口

master
Augcl 9 months ago
parent
commit
9dd551d5ba
30 changed files with 602 additions and 21 deletions
  1. +1
    -1
      jeecg-boot-base-core/src/main/java/org/jeecg/config/Swagger2Config.java
  2. +3
    -0
      jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
  3. +30
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwClassificationBean.java
  4. +44
    -12
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwImageBean.java
  5. +22
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwParamBean.java
  6. +37
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwProductBean.java
  7. +23
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwClassificationController.java
  8. +24
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwImageController.java
  9. +22
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwParamController.java
  10. +22
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwProductController.java
  11. +167
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/frontController/FrontController.java
  12. +3
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwClassificationMapper.java
  13. +4
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwImageMapper.java
  14. +3
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwParamMapper.java
  15. +3
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwProductMapper.java
  16. +15
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwClassificationMapper.xml
  17. +20
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwImageMapper.xml
  18. +19
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwParamMapper.xml
  19. +25
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwProductMapper.xml
  20. +3
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwClassificationService.java
  21. +4
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwImageService.java
  22. +3
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwParamService.java
  23. +3
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwProductService.java
  24. +6
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwClassificationServiceImpl.java
  25. +7
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwImageServiceImpl.java
  26. +6
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwParamServiceImpl.java
  27. +6
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwProductServiceImpl.java
  28. +69
    -0
      jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/utils/Utils.java
  29. +2
    -2
      jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
  30. +6
    -6
      jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml

+ 1
- 1
jeecg-boot-base-core/src/main/java/org/jeecg/config/Swagger2Config.java View File

@ -68,7 +68,7 @@ public class Swagger2Config implements WebMvcConfigurer {
.apiInfo(apiInfo())
.select()
//此包路径下的类才生成接口文档
.apis(RequestHandlerSelectors.basePackage("org.jeecg.modules.demo.officialWebsite.api"))
.apis(RequestHandlerSelectors.basePackage("org.jeecg.modules.demo.officialWebsite.api.frontController"))
//加了ApiOperation注解的类才生成接口文档
.apis(RequestHandlerSelectors.withClassAnnotation(RestController.class))
.apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class))


+ 3
- 0
jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java View File

@ -77,6 +77,9 @@ public class ShiroConfig {
}
// 配置不会被拦截的链接 顺序判断
//前端接口
filterChainDefinitionMap.put("/display/**", "anon"); //officialWebsite-owParam
//officialWebsite
filterChainDefinitionMap.put("/apiOwClassification/**", "anon"); //officialWebsite-owClassification
filterChainDefinitionMap.put("/apiOwImage/**", "anon"); //officialWebsite-owImage


+ 30
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwClassificationBean.java View File

@ -1,22 +1,37 @@
package org.jeecg.modules.demo.officialWebsite.api.bean;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class ApiOwClassificationBean {
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "创建人")
private String createBy;
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private Date createTime;
@ApiModelProperty(value = "更新人")
private String updateBy;
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "所属部门")
private String sysOrgCode;
@ApiModelProperty(value = "父级编号")
private String pid;
@ApiModelProperty(value = "是否有子节点")
private String hasChild;
@ApiModelProperty(value = "分类名称")
private String name;
@ApiModelProperty(value = "页码", required = true)
private int pageNo;
@ApiModelProperty(value = "查询范围大小", required = true)
private int pageSize;
//无参构造
public ApiOwClassificationBean() {
}
@ -106,4 +121,19 @@ public class ApiOwClassificationBean {
this.name = name;
}
public int getPageNo() {
return pageNo;
}
public void setPageNo(int pageNo) {
this.pageNo = pageNo;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
}

+ 44
- 12
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwImageBean.java View File

@ -1,25 +1,44 @@
package org.jeecg.modules.demo.officialWebsite.api.bean;
import com.mchange.v1.cachedstore.Vacuumable;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class ApiOwImageBean{
private String id; //图片id
private String createBy; //创建人
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "创建人")
private String createBy;
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date createTime; //创建时间
private String updateBy; //更新人
@ApiModelProperty(value = "创建时间")
private Date createTime;
@ApiModelProperty(value = "更新人")
private String updateBy;
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date updateTime; //更新时间
private String sysOrgCode; //所属部门
private String imageAddress; //图片地址
private String imagePosition; //图片坐标
private String imageTitle; //图片标题
private String imageShortTitle; //图片短标题
private String imageDescribe; //图片描述
private String classificationId; //图片父级编号
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "所属部门")
private String sysOrgCode;
@ApiModelProperty(value = "图片地址")
private String imageAddress;
@ApiModelProperty(value = "图片坐标")
private String imagePosition;
@ApiModelProperty(value = "图片标题")
private String imageTitle;
@ApiModelProperty(value = "图片短标题")
private String imageShortTitle;
@ApiModelProperty(value = "图片描述")
private String imageDescribe;
@ApiModelProperty(value = "父级分类编号")
private String classificationId;
@ApiModelProperty(value = "当前页码", required = true)
private int pageNo;
@ApiModelProperty(value = "页面数据条数", required = true)
private int pageSize;
//无参构造
public ApiOwImageBean() {
@ -137,6 +156,19 @@ public class ApiOwImageBean{
this.classificationId = classificationId;
}
public int getPageNo() {
return pageNo;
}
public void setPageNo(int pageNo) {
this.pageNo = pageNo;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
}

+ 22
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwParamBean.java View File

@ -1,5 +1,6 @@
package org.jeecg.modules.demo.officialWebsite.api.bean;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
public class ApiOwParamBean {
@ -16,6 +17,12 @@ public class ApiOwParamBean {
private String paramValue;
private String paramDesc;
@ApiModelProperty(value = "当前页码", required = true)
private int pageNo;
@ApiModelProperty(value = "页面数据条数范围", required = true)
private int pageSize;
//无参构造
public ApiOwParamBean() {
}
@ -105,4 +112,19 @@ public class ApiOwParamBean {
this.paramDesc = paramDesc;
}
public int getPageNo() {
return pageNo;
}
public void setPageNo(int pageNo) {
this.pageNo = pageNo;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
}

+ 37
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/bean/ApiOwProductBean.java View File

@ -1,29 +1,50 @@
package org.jeecg.modules.demo.officialWebsite.api.bean;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class ApiOwProductBean {
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "创建人")
private String createBy;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private Date createTime;
@ApiModelProperty(value = "更新人")
private String updateBy;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "所属部门")
private String sysOrgCode;
@ApiModelProperty(value = "产品图片地址")
private String productImageAddress;
@ApiModelProperty(value = "产品图片坐标")
private String productImagePosition;
@ApiModelProperty(value = "产品标题")
private String productTitle;
@ApiModelProperty(value = "产品短标题")
private String productShortTitle;
@ApiModelProperty(value = "产品描述")
private String productDescribe;
@ApiModelProperty(value = "父级分类编号", required = true)
private String classificationId;
@ApiModelProperty(value = "是否为热门产品:1-是 0-否")
private String isHot;
@ApiModelProperty(value = "产品慕课地址")
private String productAddressMc;
@ApiModelProperty(value = "产品网站地址")
private String productAddressNet;
@ApiModelProperty(value = "当前页码", required = true)
private int pageNo;
@ApiModelProperty(value = "页码数据条数范围", required = true)
private int pageSize;
//无参构造
public ApiOwProductBean() {
}
@ -166,4 +187,20 @@ public class ApiOwProductBean {
public void setProductAddressNet(String productAddressNet) {
this.productAddressNet = productAddressNet;
}
public int getPageNo() {
return pageNo;
}
public void setPageNo(int pageNo) {
this.pageNo = pageNo;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
}

+ 23
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwClassificationController.java View File

@ -20,6 +20,29 @@ public class ApiOwClassificationController {
@Resource
private ApiOwClassificationService apiOwClassificationService;
//分页查询
@AutoLog(value = "图片分类表-分页查询")
@ApiOperation(value = "图片分类表-分页查询", notes = "分页查询")
@RequestMapping(value = "/querySplit", method = {RequestMethod.GET})
public List<ApiOwClassificationBean> querySplit(ApiOwClassificationBean apiOwClassificationBean,int pageNo, int pageSize){
//数据总量
int count = apiOwClassificationService.queryAllClassification(apiOwClassificationBean).size();
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
apiOwClassificationBean.setPageNo(beginIndex);
apiOwClassificationBean.setPageSize(pageSize);
return apiOwClassificationService.querySplit(apiOwClassificationBean);
}
//查询所有分类
@AutoLog(value = "图片分类表-查询所有")
@ApiOperation(value="图片分类表-查询所有", notes="根据传入的参数进行条件查询")


+ 24
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwImageController.java View File

@ -4,6 +4,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean;
import org.jeecg.modules.demo.officialWebsite.api.service.ApiOwImageService;
import org.springframework.web.bind.annotation.*;
@ -20,6 +21,29 @@ public class ApiOwImageController {
@Resource
private ApiOwImageService apiOwImageService;
//分页查询
@AutoLog(value = "图片分类表-分页查询")
@ApiOperation(value = "图片分类表-分页查询", notes = "分页查询")
@RequestMapping(value = "/querySplit", method = {RequestMethod.GET})
public List<ApiOwImageBean> querySplit(ApiOwImageBean apiOwImageBean, int pageNo, int pageSize){
//数据总量
int count = apiOwImageService.queryAll(apiOwImageBean).size();
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
apiOwImageBean.setPageNo(beginIndex);
apiOwImageBean.setPageSize(pageSize);
return apiOwImageService.querySplit(apiOwImageBean);
}
@AutoLog(value = "图片信息表-查询所有")
@ApiOperation(value="图片信息表-查询所有", notes="根据传入的参数进行条件查询")
@GetMapping(value = "/queryAll")


+ 22
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwParamController.java View File

@ -22,6 +22,28 @@ public class ApiOwParamController {
@Resource
private ApiOwParamService apiOwParamService;
//分页查询
@AutoLog(value = "参数配置表-分页查询")
@ApiOperation(value = "参数配置表-分页查询", notes = "根据传入参数进行查询")
@RequestMapping(value = "/querySplit", method = {RequestMethod.GET})
public List<ApiOwParamBean> querySplit(ApiOwParamBean apiOwParamBean, int pageNo, int pageSize){
//数据总量
int count = apiOwParamService.queryAll(apiOwParamBean).size();
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
apiOwParamBean.setPageNo(beginIndex);
apiOwParamBean.setPageSize(pageSize);
return apiOwParamService.querySplit(apiOwParamBean);
}
//查询所有
@AutoLog(value = "参数配置表-查询所有")
@ApiOperation(value = "参数配置表-查询所有", notes = "根据传入参数进行查询")


+ 22
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/controller/ApiOwProductController.java View File

@ -23,6 +23,28 @@ public class ApiOwProductController {
@Resource
private ApiOwProductService apiOwProductService;
//查询所有
@AutoLog(value = "产品信息表-分页查询")
@ApiOperation(value = "产品信息表-分页查询", notes = "分页查询")
@RequestMapping(value = "/querySplit", method = {RequestMethod.GET})
public List<ApiOwProductBean> querySplit(ApiOwProductBean apiOwProductBean, int pageNo, int pageSize){
//数据总量
int count = apiOwProductService.queryAll(apiOwProductBean).size();
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
apiOwProductBean.setPageNo(beginIndex);
apiOwProductBean.setPageSize(pageSize);
return apiOwProductService.querySplit(apiOwProductBean);
}
//查询所有
@AutoLog(value = "产品信息表-查询所有")
@ApiOperation(value = "产品信息表-查询所有", notes = "查询所有")


+ 167
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/frontController/FrontController.java View File

@ -0,0 +1,167 @@
package org.jeecg.modules.demo.officialWebsite.api.frontController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwProductBean;
import org.jeecg.modules.demo.officialWebsite.api.service.ApiOwImageService;
import org.jeecg.modules.demo.officialWebsite.api.service.ApiOwProductService;
import org.jeecg.modules.demo.officialWebsite.api.utils.Utils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
@Api(tags = "前端展示页面")
@RestController
@RequestMapping(value = "/display")
@Slf4j
public class FrontController {
@Resource
private ApiOwImageService apiOwImageService;
@Resource
private ApiOwProductService apiOwProductService;
/*******************************************************************************************************************/
/***********************************************图片部分************************************************************/
//图片信息查询公共方法
public List<ApiOwImageBean> queryImageUtil(String classificationId, int pageNo, int pageSize){
ApiOwImageBean apiOwImageBean = new ApiOwImageBean();
int count = apiOwImageService.queryAll(apiOwImageBean).size();
ApiOwImageBean apiOwImageBean1 = Utils.split(apiOwImageBean, classificationId, count,pageNo,pageSize);
return apiOwImageService.querySplit(apiOwImageBean1);
}
@AutoLog(value = "首页-轮播图")
@ApiOperation(value = "首页-轮播图", notes = "classificationId-父级图片编号(首页_轮播图); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryFirstPageBanner", method = {RequestMethod.GET})
public List<ApiOwImageBean> queryFirstPageBanner(String classificationId, int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "首页-定制软件开发")
@ApiOperation(value = "首页-定制软件开发", notes = "classificationId-父级图片编号(定制软件开发); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryCustomieSoftware", method = {RequestMethod.GET})
public List<ApiOwImageBean> queryCustomieSoftware(String classificationId, int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "首页-软件产品开发")
@ApiOperation(value = "首页-软件产品开发", notes = "classificationId-父级图片编号(软件产品开发); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/querySoftware", method = {RequestMethod.GET})
public List<ApiOwImageBean> querySoftware(String classificationId,int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "关于我们-轮播图")
@ApiOperation(value = "关于我们-轮播图", notes = "classificationId-父级图片编号(关于我们_轮播图); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryAboutUsBanner", method = {RequestMethod.GET})
public List<ApiOwImageBean> queryAboutUsBanner(String classificationId,int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "关于我们-信息展示")
@ApiOperation(value = "关于我们-信息展示", notes = "classificationId-父级图片编号(关于我们_信息展示); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryAboutUsInfo", method = {RequestMethod.GET})
public List<ApiOwImageBean> query6(String classificationId,int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "服务项目-轮播图")
@ApiOperation(value = "服务项目-轮播图", notes = "classificationId-父级图片编号(服务项目_轮播图); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryServeBanner", method = {RequestMethod.GET})
public List<ApiOwImageBean> queryServeBanner(String classificationId,int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "服务项目-信息展示")
@ApiOperation(value = "服务项目-信息展示", notes = "classificationId-父级图片编号(服务项目_信息展示); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryServeInfo", method = {RequestMethod.GET})
public List<ApiOwImageBean> query8(String classificationId,int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "联系我们-加入我们的团队")
@ApiOperation(value = "联系我们-加入我们的团队", notes = "classificationId-父级编号(联系我们-加入我们的团队); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryJoinUs", method = {RequestMethod.GET})
public List<ApiOwImageBean> queryJoinUs(String classificationId,int pageNo, int pageSize){
return this.queryImageUtil(classificationId,pageNo,pageSize);
}
/*******************************************************************************************************************/
/***********************************************程序部分************************************************************/
//程序信息查询公共方法
public List<ApiOwProductBean> queryProgramUtil(String classificationId, int pageNo, int pageSize){
ApiOwProductBean apiOwProductBean = new ApiOwProductBean();
int count = apiOwProductService.queryAll(apiOwProductBean).size();
ApiOwProductBean apiOwProductBean1 = Utils.split(apiOwProductBean, classificationId,count,pageNo,pageSize);
return apiOwProductService.querySplit(apiOwProductBean1);
}
public List<ApiOwProductBean> queryProgramUtil1(String classificationId,String isHot, int pageNo, int pageSize){
HashMap<String,Object> map = new HashMap<>();
ApiOwProductBean apiOwProductBean = new ApiOwProductBean();
//查询数据总量
int count = apiOwProductService.queryAll(apiOwProductBean).size();
//将参数打包
map.put("classificationId",classificationId);
map.put("isHot",isHot);
map.put("pageNo",pageNo);
map.put("pageSize",pageSize);
map.put("count",count);
map.put("apiOwProductBean",apiOwProductBean);
ApiOwProductBean apiOwProductBean1 = Utils.split1(map);
return apiOwProductService.querySplit(apiOwProductBean1);
}
@AutoLog(value = "首页-案例展示")
@ApiOperation(value = "首页-案例展示", notes = "classificationId-父级图片编号(案例展示); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryExample", method = {RequestMethod.GET})
public List<ApiOwProductBean> queryExample(String classificationId, String isHot, int pageNo, int pageSize){
return this.queryProgramUtil1(classificationId,isHot,pageNo,pageSize);
}
@AutoLog(value = "案例展示-系统平台")
@ApiOperation(value = "案例展示-系统平台", notes = "classificationId-父级产品编号(案例展示_系统平台); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryExampleSystem", method = {RequestMethod.GET})
public List<ApiOwProductBean> queryExampleSystem(String classificationId,int pageNo, int pageSize){
return this.queryProgramUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "案例展示-APP")
@ApiOperation(value = "案例展示-APP", notes = "classificationId-父级产品编号(案例展示_APP); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryExampleApp", method = {RequestMethod.GET})
public List<ApiOwProductBean> queryExampleApp(String classificationId,int pageNo, int pageSize){
return this.queryProgramUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "案例展示-电商平台")
@ApiOperation(value = "案例展示-电商平台", notes = "classificationId-父级产品编号(案例展示_电商平台); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryExampleRetailer", method = {RequestMethod.GET})
public List<ApiOwProductBean> queryExampleRetailer(String classificationId,int pageNo, int pageSize){
return this.queryProgramUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "案例展示-小程序")
@ApiOperation(value = "案例展示-小程序", notes = "classificationId-父级产品编号(案例展示_小程序); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryExampleProgram", method = {RequestMethod.GET})
public List<ApiOwProductBean> queryExampleProgram(String classificationId,int pageNo, int pageSize){
return this.queryProgramUtil(classificationId,pageNo,pageSize);
}
@AutoLog(value = "案例展示-网站建设")
@ApiOperation(value = "案例展示-网站建设", notes = "classificationId-父级产品编号(案例展示_网站建设); pageNo-页码; pageSize-页面数据条数范围")
@RequestMapping(value = "/queryExampleWebsite", method = {RequestMethod.GET})
public List<ApiOwProductBean> queryExampleWebsite(String classificationId,int pageNo, int pageSize){
return this.queryProgramUtil(classificationId,pageNo,pageSize);
}
}

+ 3
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwClassificationMapper.java View File

@ -8,6 +8,9 @@ import java.util.List;
@Mapper
public interface ApiOwClassificationMapper {
//分页查询
public List<ApiOwClassificationBean> querySplit(ApiOwClassificationBean apiOwClassificationBean);
//查询所有
public List<ApiOwClassificationBean> queryAllClassification(ApiOwClassificationBean apiOwClassificationBean);


+ 4
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwImageMapper.java View File

@ -1,6 +1,7 @@
package org.jeecg.modules.demo.officialWebsite.api.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean;
import java.util.List;
@ -8,6 +9,9 @@ import java.util.List;
@Mapper
public interface ApiOwImageMapper {
//分页查询
public List<ApiOwImageBean> querySplit(ApiOwImageBean apiOwImageBean);
//查询所有
public List<ApiOwImageBean> queryAll(ApiOwImageBean apiOwImageBean);


+ 3
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwParamMapper.java View File

@ -8,6 +8,9 @@ import java.util.List;
@Mapper
public interface ApiOwParamMapper {
//分页查询
public List<ApiOwParamBean> querySplit(ApiOwParamBean apiOwParamBean);
//查询所有
public List<ApiOwParamBean> queryAll(ApiOwParamBean apiOwParamBean);


+ 3
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/ApiOwProductMapper.java View File

@ -8,6 +8,9 @@ import java.util.List;
@Mapper
public interface ApiOwProductMapper {
//分页查询
public List<ApiOwProductBean> querySplit(ApiOwProductBean apiOwProductBean);
//查询所有
public List<ApiOwProductBean> queryAll(ApiOwProductBean apiOwProductBean);


+ 15
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwClassificationMapper.xml View File

@ -2,6 +2,21 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.demo.officialWebsite.api.mapper.ApiOwClassificationMapper">
<!--分页查询-->
<select id="querySplit" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean">
select * from ow_classification
<where>
<if test="id != null ">and id = #{id}</if>
<if test="createBy != null">and create_by = #{createBy}</if>
<if test="updateBy != null">and update_by = #{updateBy}</if>
<if test="sysOrgCode != null">and sys_org_code = #{sysOrgCode}</if>
<if test="hasChild != null">and has_child = #{hasChild}</if>
<if test="pid != null">and pid = #{pid}</if>
<if test="name != null">and name = #{name}</if>
</where>
order by id asc limit #{pageNo},#{pageSize}
</select>
<!--查询所有-->
<select id="queryAllClassification" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,has_child,pid,name


+ 20
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwImageMapper.xml View File

@ -2,6 +2,26 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.demo.officialWebsite.api.mapper.ApiOwImageMapper">
<!--分页查询-->
<select id="querySplit" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,image_address,image_position,image_title,image_short_title,image_describe,classification_id
from ow_image
<where>
<if test="id != null ">and id = #{id}</if>
<if test="createBy != null">and create_by = #{createBy}</if>
<if test="updateBy != null">and update_by = #{updateBy}</if>
<if test="sysOrgCode != null">and sys_org_code = #{sysOrgCode}</if>
<if test="imageAddress != null">and image_address = #{imageAddress}</if>
<if test="imagePosition != null">and image_position = #{imagePosition}</if>
<if test="imageTitle != null">and image_title = #{imageTitle}</if>
<if test="imageShortTitle != null">and image_short_title = #{imageShortTitle}</if>
<if test="imageDescribe != null">and image_describe = #{imageDescribe}</if>
<if test="classificationId != null">and classification_id = #{classificationId}</if>
</where>
order by id asc
limit #{pageNo},#{pageSize}
</select>
<!--查询所有图片信息 > 根据传入的参数-->
<select id="queryAll" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,image_address,image_position,image_title,image_short_title,image_describe,classification_id


+ 19
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwParamMapper.xml View File

@ -2,6 +2,25 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.demo.officialWebsite.api.mapper.ApiOwParamMapper">
<!--分页查询-->
<select id="querySplit" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwParamBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwParamBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,param_code,param_value,param_desc
from ow_param
<where>
<if test="id != null ">and id = #{id}</if>
<if test="createBy != null">and create_by = #{createBy}</if>
<if test="createTime != null">and create_time = #{createTime}</if>
<if test="updateBy != null">and update_by = #{updateBy}</if>
<if test="updateTime != null">and update_time = #{updateTime}</if>
<if test="sysOrgCode != null">and sys_org_code = #{sysOrgCode}</if>
<if test="paramCode != null">and param_code = #{paramCode}</if>
<if test="paramValue != null">and param_value = #{paramValue}</if>
<if test="paramDesc != null">and param_desc = #{paramDesc}</if>
</where>
order by id asc
limit #{pageNo},#{pageSize}
</select>
<!--查询所有参数信息 > 根据传入的参数-->
<select id="queryAll" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwParamBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwParamBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,param_code,param_value,param_desc


+ 25
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/mapper/xml/ApiOwProductMapper.xml View File

@ -2,6 +2,31 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.demo.officialWebsite.api.mapper.ApiOwProductMapper">
<!--分页查询-->
<select id="querySplit" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwProductBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwProductBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,product_image_address,product_image_position,product_title,product_short_title,product_describe,classification_id,is_hot,product_address_mc,product_address_net
from ow_product
<where>
<if test="id != null ">and id = #{id}</if>
<if test="createBy != null ">and create_by = #{createBy}</if>
<if test="createTime != null ">and create_time = #{createTime}</if>
<if test="updateBy != null ">and update_by = #{updateBy}</if>
<if test="updateTime != null ">and update_time = #{updateTime}</if>
<if test="sysOrgCode != null ">and sys_org_code = #{sysOrgCode}</if>
<if test="productImageAddress != null ">and product_image_address = #{productImageAddress}</if>
<if test="productImagePosition != null ">and product_image_position = #{productImagePosition}</if>
<if test="productTitle != null ">and product_title = #{productTitle}</if>
<if test="productShortTitle != null ">and product_short_title = #{productShortTitle}</if>
<if test="productDescribe != null ">and product_describe = #{productDescribe}</if>
<if test="classificationId != null ">and classification_id = #{classificationId}</if>
<if test="isHot != null ">and is_hot = #{isHot}</if>
<if test="productAddressMc != null ">and product_address_mc = #{productAddressMc}</if>
<if test="productAddressNet != null ">and product_address_net = #{productAddressNet}</if>
</where>
order by id asc
limit #{pageNo},#{pageSize}
</select>
<!--查询所有参数信息 > 根据传入的参数-->
<select id="queryAll" parameterType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwProductBean" resultType="org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwProductBean">
select id,create_by,create_time,update_by,update_time,sys_org_code,product_image_address,product_image_position,product_title,product_short_title,product_describe,classification_id,is_hot,product_address_mc,product_address_net


+ 3
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwClassificationService.java View File

@ -6,6 +6,9 @@ import java.util.List;
public interface ApiOwClassificationService {
//分页查询
public List<ApiOwClassificationBean> querySplit(ApiOwClassificationBean apiOwClassificationBean);
//查询所有
public List<ApiOwClassificationBean> queryAllClassification(ApiOwClassificationBean apiOwClassificationBean);


+ 4
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwImageService.java View File

@ -1,5 +1,6 @@
package org.jeecg.modules.demo.officialWebsite.api.service;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean;
import org.springframework.stereotype.Service;
@ -7,6 +8,9 @@ import java.util.List;
public interface ApiOwImageService {
//分页查询
public List<ApiOwImageBean> querySplit(ApiOwImageBean apiOwImageBean);
//查询所有
public List<ApiOwImageBean> queryAll(ApiOwImageBean apiOwImageBean);


+ 3
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwParamService.java View File

@ -6,6 +6,9 @@ import java.util.List;
public interface ApiOwParamService {
//分页查询
public List<ApiOwParamBean> querySplit(ApiOwParamBean apiOwParamBean);
//查询所有
public List<ApiOwParamBean> queryAll(ApiOwParamBean apiOwParamBean);


+ 3
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/ApiOwProductService.java View File

@ -6,6 +6,9 @@ import java.util.List;
public interface ApiOwProductService {
//查询所有
public List<ApiOwProductBean> querySplit(ApiOwProductBean apiOwProductBean);
//查询所有
public List<ApiOwProductBean> queryAll(ApiOwProductBean apiOwProductBean);


+ 6
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwClassificationServiceImpl.java View File

@ -14,6 +14,12 @@ public class ApiOwClassificationServiceImpl implements ApiOwClassificationServic
@Resource
private ApiOwClassificationMapper apiOwClassificationMapper;
//分页查询
@Override
public List<ApiOwClassificationBean> querySplit(ApiOwClassificationBean apiOwClassificationBean) {
return apiOwClassificationMapper.querySplit(apiOwClassificationBean);
}
//查询所有
@Override
public List<ApiOwClassificationBean> queryAllClassification(ApiOwClassificationBean apiOwClassificationBean) {


+ 7
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwImageServiceImpl.java View File

@ -1,5 +1,6 @@
package org.jeecg.modules.demo.officialWebsite.api.service.impl;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwClassificationBean;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean;
import org.jeecg.modules.demo.officialWebsite.api.mapper.ApiOwImageMapper;
import org.jeecg.modules.demo.officialWebsite.api.service.ApiOwImageService;
@ -14,6 +15,12 @@ public class ApiOwImageServiceImpl implements ApiOwImageService {
@Resource
private ApiOwImageMapper apiOwImageMapper;
//分页查询
@Override
public List<ApiOwImageBean> querySplit(ApiOwImageBean apiOwImageBean) {
return apiOwImageMapper.querySplit(apiOwImageBean);
}
//查询所有
@Override
public List<ApiOwImageBean> queryAll(ApiOwImageBean apiOwImageBean) {


+ 6
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwParamServiceImpl.java View File

@ -14,6 +14,12 @@ public class ApiOwParamServiceImpl implements ApiOwParamService {
@Resource
private ApiOwParamMapper apiOwParamMapper;
//分页查询
@Override
public List<ApiOwParamBean> querySplit(ApiOwParamBean apiOwParamBean) {
return apiOwParamMapper.querySplit(apiOwParamBean);
}
//查询所有
@Override
public List<ApiOwParamBean> queryAll(ApiOwParamBean apiOwParamBean) {


+ 6
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/service/impl/ApiOwProductServiceImpl.java View File

@ -14,6 +14,12 @@ public class ApiOwProductServiceImpl implements ApiOwProductService {
@Resource
private ApiOwProductMapper apiOwProductMapper;
//分页查询
@Override
public List<ApiOwProductBean> querySplit(ApiOwProductBean apiOwProductBean) {
return apiOwProductMapper.querySplit(apiOwProductBean);
}
//查询所有
@Override
public List<ApiOwProductBean> queryAll(ApiOwProductBean apiOwProductBean) {


+ 69
- 0
jeecg-module-officialWebsit/src/main/java/org/jeecg/modules/demo/officialWebsite/api/utils/Utils.java View File

@ -0,0 +1,69 @@
package org.jeecg.modules.demo.officialWebsite.api.utils;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwImageBean;
import org.jeecg.modules.demo.officialWebsite.api.bean.ApiOwProductBean;
import java.util.HashMap;
public class Utils {
//图片信息表分页封装
public static ApiOwImageBean split(ApiOwImageBean apiOwImageBean, String type, int count, int pageNo, int pageSize){
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
apiOwImageBean.setPageNo(beginIndex);
apiOwImageBean.setPageSize(pageSize);
return apiOwImageBean;
}
//产品信息表分页封装
public static ApiOwProductBean split(ApiOwProductBean productBean, String type, int count, int pageNo, int pageSize){
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
productBean.setPageNo(beginIndex);
productBean.setPageSize(pageSize);
return productBean;
}
public static ApiOwProductBean split1(HashMap<String,Object> map){
//获取前端传递的数据
int count = (int) map.get("count");
int pageNo = (int) map.get("pageNo");
int pageSize = (int) map.get("pageSize");
String isHot = (String) map.get("isHot");
ApiOwProductBean apiOwProductBean = (ApiOwProductBean) map.get("apiOwProductBean");
//计算总页数
int pageCount = count%pageSize==0?count/pageSize:count/pageSize+1;
//边界判断
if(pageNo < 1){
pageNo = 1;
}else if(pageNo > pageCount){
pageNo = pageCount;
}
//查询开始下标
int beginIndex = (pageNo-1)*pageSize;
//设置对象参数
apiOwProductBean.setPageNo(beginIndex);
apiOwProductBean.setPageSize(pageSize);
if("1".equals(isHot)){apiOwProductBean.setIsHot(isHot);}
return apiOwProductBean;
}
}

+ 2
- 2
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml View File

@ -1,5 +1,5 @@
server:
port: 8080
port: 8085
tomcat:
max-swallow-size: -1
error:
@ -7,7 +7,7 @@ server:
include-stacktrace: ALWAYS
include-message: ALWAYS
servlet:
context-path: /jeecg-boot
context-path: /officialWebsite
compression:
enabled: true
min-response-size: 1024


+ 6
- 6
jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml View File

@ -1,5 +1,5 @@
server:
port: 8080
port: 8085
tomcat:
max-swallow-size: -1
error:
@ -7,7 +7,7 @@ server:
include-stacktrace: ALWAYS
include-message: ALWAYS
servlet:
context-path: /jeecg-boot
context-path: /officailWebsite
compression:
enabled: true
min-response-size: 1024
@ -130,9 +130,9 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://8.138.162.67:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: Fk4q*h@V
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1:
@ -143,9 +143,9 @@ spring:
#redis 配置
redis:
database: 0
host: 127.0.0.1
host: 8.138.162.67
port: 6379
password: ''
password: 'gmmGMM@2024'
#mybatis plus 设置
mybatis-plus:
mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml


Loading…
Cancel
Save