Browse Source

1、添加接口设计

2、Shiro设置(接口校验放开)
3、Swagger设置(接口生成文档放开)
master
Augcl 4 months ago
parent
commit
278b9607cb
12 changed files with 602 additions and 1 deletions
  1. +124
    -0
      .idea/uiDesigner.xml
  2. +2
    -1
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/Swagger2Config.java
  3. +3
    -0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
  4. +61
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/employController/BossApiController.java
  5. +254
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/employController/CommonApiController.java
  6. +92
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/employController/EmployeeApiController.java
  7. +7
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/BossApiService.java
  8. +10
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/CommonApiService.java
  9. +10
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/EmployeeApiService.java
  10. +13
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/BossApiServiceImpl.java
  11. +13
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/CommonApiServiceImpl.java
  12. +13
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/EmployeeApiServiceImpl.java

+ 124
- 0
.idea/uiDesigner.xml View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

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

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


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

@ -72,6 +72,9 @@ public class ShiroConfig {
}
}
//特易招
filterChainDefinitionMap.put("/api/*", "anon"); //api相关接口全部放开
filterChainDefinitionMap.put("/sys/oss/file/upload", "anon"); //图片上传验证放开
filterChainDefinitionMap.put("/sys/common/upload", "anon"); //图片上传验证放开
filterChainDefinitionMap.put("/sys/cas/client/validateLogin", "anon"); //cas验证登录


+ 61
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/employController/BossApiController.java View File

@ -0,0 +1,61 @@
package org.jeecg.modules.api.employController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiService.BossApiService;
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;
@Api(tags="小程序-Boss相关接口")
@RestController
@RequestMapping("/api/boss")
@Slf4j
public class BossApiController {
/******************************Boss-首页相关接口********************************************/
//首页相关接口
@Resource
private BossApiService bossApiService;
//首页-根据岗位查询找活信息
@ApiOperation(value="首页-根据岗位查询找活信息", notes="首页-根据岗位查询找活信息")
@RequestMapping(value = "/queryJobListByName", method = {RequestMethod.GET})
public Result<?> queryJobListByName(String jobType){
return bossApiService.queryJobList();
}
//首页-智能推荐查询找活信息
@ApiOperation(value="首页-智能推荐查询找活信息", notes="首页-智能推荐查询找活信息")
@RequestMapping(value = "/queryJobList", method = {RequestMethod.GET})
public Result<?> queryJobList(){
return null;
}
//首页-根据Id查看找活详情
@ApiOperation(value="首页-根据Id查看找活详情", notes="首页-根据Id查看找活详情")
@RequestMapping(value = "/queryJobById", method = {RequestMethod.GET})
public Result<?> queryJobById(){
return null;
}
//首页-根据Id查看简历详情
@ApiOperation(value="首页-根据Id查看简历详情", notes="首页-根据Id查看简历详情")
@RequestMapping(value = "/queryCVById", method = {RequestMethod.GET})
public Result<?> queryCVById(){
return null;
}
//首页-发布招工
@ApiOperation(value="首页-发布招工", notes="首页-发布招工")
@RequestMapping(value = "/addJob", method = {RequestMethod.POST})
public Result<?> addJob(){
return null;
}
}

+ 254
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/employController/CommonApiController.java View File

@ -0,0 +1,254 @@
package org.jeecg.modules.api.employController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiService.CommonApiService;
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;
@Api(tags="小程序-公共接口")
@RestController
@RequestMapping("/api/common")
@Slf4j
public class CommonApiController {
/******************************公共接口********************************************/
@Resource
private CommonApiService commonApiService;
/***************首页***************/
//获取banner图列表
@ApiOperation(value="首页-获取banner图列表", notes="0-首页 1-会员中心")
@RequestMapping(value = "/queryBannerList", method = {RequestMethod.GET})
public Result<?> queryBannerList(String bannerCategoryType){
return commonApiService.queryBannerList(bannerCategoryType);
}
//获取工种列表
@ApiOperation(value="首页-获取工种列表", notes="首页-获取工种列表")
@RequestMapping(value = "/queryJobTypeList", method = {RequestMethod.GET})
public Result<?> queryJobTypeList(){
return null;
}
//获取地址列表
@ApiOperation(value="首页-获取地址列表", notes="首页-获取地址列表")
@RequestMapping(value = "/queryAddressList", method = {RequestMethod.GET})
public Result<?> queryAddressList(){
return null;
}
/***************记工记账***************/
//个人记工-新建账本
@ApiOperation(value="个人记工-新建账本", notes="个人记工-新建账本")
@RequestMapping(value = "/addBill", method = {RequestMethod.POST})
public Result<?> addBill(){
return null;
}
//个人记工-全年收支
@ApiOperation(value="个人记工-全年收支", notes="个人记工-全年收支")
@RequestMapping(value = "/queryBill", method = {RequestMethod.GET})
public Result<?> queryBill(){
return null;
}
//个人记工-技工问题
@ApiOperation(value="个人记工-技工问题", notes="个人记工-技工问题")
@RequestMapping(value = "/addQuestion", method = {RequestMethod.POST})
public Result<?> addQuestion(){
return null;
}
//个人记工-在建项目
@ApiOperation(value="个人记工-在建项目", notes="个人记工-在建项目")
@RequestMapping(value = "/queryStrartJobList", method = {RequestMethod.GET})
public Result<?> queryStrartJobList(){
return null;
}
//个人记工-结束项目
@ApiOperation(value="个人记工-结束项目", notes="个人记工-结束项目")
@RequestMapping(value = "/queryEndJobList", method = {RequestMethod.GET})
public Result<?> queryEndJobList(){
return null;
}
//班组记工-新建账本
@ApiOperation(value="班组记工-新建账本", notes="班组记工-新建账本")
@RequestMapping(value = "/addBills", method = {RequestMethod.POST})
public Result<?> addBills(){
return null;
}
//班组记工-技工问题
@ApiOperation(value="班组记工-技工问题", notes="班组记工-技工问题")
@RequestMapping(value = "/addQuestions", method = {RequestMethod.POST})
public Result<?> addQuestions(){
return null;
}
//班组记工-在建项目
@ApiOperation(value="班组记工-在建项目", notes="班组记工-在建项目")
@RequestMapping(value = "/queryStrartJobLists", method = {RequestMethod.GET})
public Result<?> queryStrartJobLists(){
return null;
}
//班组记工-结束项目
@ApiOperation(value="班组记工-结束项目", notes="班组记工-结束项目")
@RequestMapping(value = "/queryEndJobLists", method = {RequestMethod.GET})
public Result<?> queryEndJobLists(){
return null;
}
/***************会员中心***************/
//会员中心-正式积分||临时积分||积分记录
@ApiOperation(value="会员中心-正式积分||临时积分||积分记录", notes="会员中心-正式积分||临时积分||积分记录")
@RequestMapping(value = "/queryScore", method = {RequestMethod.GET})
public Result<?> queryScore(){
return null;
}
//会员中心-我的收藏
@ApiOperation(value="会员中心-我的收藏", notes="会员中心-我的收藏")
@RequestMapping(value = "/queryCollection", method = {RequestMethod.GET})
public Result<?> queryCollection(){
return null;
}
//会员中心-联系记录-我看过谁(我的找活)
@ApiOperation(value="会员中心-联系记录-我看过谁(我的找活)", notes="会员中心-联系记录-我看过谁(我的找活)")
@RequestMapping(value = "/queryWatchWho", method = {RequestMethod.GET})
public Result<?> queryWatchWho(){
return null;
}
//会员中心-联系记录-我看过谁(我的找活)
@ApiOperation(value="会员中心-联系记录-谁看过我(谁看过我的简历)", notes="会员中心-联系记录-谁看过我(谁看过我的简历)")
@RequestMapping(value = "/queryWatchMe", method = {RequestMethod.GET})
public Result<?> queryWatchMe(){
return null;
}
//我的服务-会员充值(开通VIP)
@ApiOperation(value="我的服务-会员充值(开通VIP)", notes="我的服务-会员充值(开通VIP)")
@RequestMapping(value = "/addRecharge", method = {RequestMethod.POST})
public Result<?> addRecharge(){
return null;
}
//我的服务-获取积分-充值积分
@ApiOperation(value="我的服务-获取积分-充值积分", notes="我的服务-获取积分-充值积分")
@RequestMapping(value = "/addScoreByRecharge", method = {RequestMethod.POST})
public Result<?> addScoreByRecharge(){
return null;
}
//我的服务-获取积分-邀请工友获取积分
@ApiOperation(value="我的服务-获取积分-邀请工友获取积分", notes="我的服务-获取积分-邀请工友获取积分")
@RequestMapping(value = "/addScoreByShare", method = {RequestMethod.POST})
public Result<?> addScoreByShare(){
return null;
}
//我的服务-个人实名认证
@ApiOperation(value="我的服务-个人实名认证", notes="我的服务-个人实名认证")
@RequestMapping(value = "/validatePerson", method = {RequestMethod.POST})
public Result<?> validatePerson(){
return null;
}
//我的服务-企业实名认证
@ApiOperation(value="我的服务-企业实名认证", notes="我的服务-企业实名认证")
@RequestMapping(value = "/validateCompany", method = {RequestMethod.POST})
public Result<?> validateCompany(){
return null;
}
//我的服务-兑换码
@ApiOperation(value="我的服务-兑换码", notes="我的服务-兑换码")
@RequestMapping(value = "/addExchange", method = {RequestMethod.POST})
public Result<?> addExchange(){
return null;
}
//我的服务-电子合同
@ApiOperation(value="电子合同-获取电子合同列表", notes="电子合同-获取电子合同列表")
@RequestMapping(value = "/queryContractList", method = {RequestMethod.GET})
public Result<?> queryContractList(){
return null;
}
//我的服务-电子合同
@ApiOperation(value="电子合同-根据id查询电子合同详情", notes="电子合同-根据id查询电子合同详情")
@RequestMapping(value = "/queryContracById", method = {RequestMethod.GET})
public Result<?> queryContracById(){
return null;
}
/***************设置与帮助***************/
//系统设置-切换账号
@ApiOperation(value="系统设置-切换账号", notes="系统设置-切换账号")
@RequestMapping(value = "/changeAccount", method = {RequestMethod.GET})
public Result<?> changeAccount(){
return null;
}
//系统设置-修改密码
@ApiOperation(value="系统设置-修改密码", notes="系统设置-修改密码")
@RequestMapping(value = "/updatePassword", method = {RequestMethod.GET})
public Result<?> updatePassword(){
return null;
}
//系统设置-清理缓存
@ApiOperation(value="系统设置-清理缓存", notes="系统设置-清理缓存")
@RequestMapping(value = "/clearCache", method = {RequestMethod.GET})
public Result<?> clearCache(){
return null;
}
//系统设置-版本更新
@ApiOperation(value="系统设置-版本更新", notes="系统设置-版本更新")
@RequestMapping(value = "/updateVersion", method = {RequestMethod.GET})
public Result<?> updateVersion(){
return null;
}
//系统设置-退出登录
@ApiOperation(value="系统设置-退出登录", notes="系统设置-退出登录")
@RequestMapping(value = "/loginOut", method = {RequestMethod.GET})
public Result<?> loginOut(){
return null;
}
//系统设置-切换身份
@ApiOperation(value="系统设置-切换身份", notes="系统设置-切换身份")
@RequestMapping(value = "/changeRole", method = {RequestMethod.GET})
public Result<?> changeRole(){
return null;
}
//帮助与反馈
@ApiOperation(value="帮助与反馈", notes="帮助与反馈")
@RequestMapping(value = "/help", method = {RequestMethod.GET})
public Result<?> help(){
return null;
}
//关于本程序
@ApiOperation(value="关于本程序", notes="关于本程序")
@RequestMapping(value = "/aboutUs", method = {RequestMethod.GET})
public Result<?> aboutUs(){
return null;
}
}

+ 92
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/employController/EmployeeApiController.java View File

@ -0,0 +1,92 @@
package org.jeecg.modules.api.employController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiService.EmployeeApiService;
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;
@Api(tags="小程序-Employee相关接口")
@RestController
@RequestMapping("/api/employee")
@Slf4j
public class EmployeeApiController {
/******************************职场人-首页相关接口********************************************/
//首页相关接口
@Resource
private EmployeeApiService employeeApiService;
/***************首页***************/
//首页-根据岗位/公司名称模糊查询工作信息
@ApiOperation(value="首页-根据岗位/公司名称模糊查询工作信息", notes="首页-根据岗位/公司名称模糊查询工作信息")
@RequestMapping(value = "/queryJobListByName", method = {RequestMethod.GET})
public Result<?> queryJobListByName(String jobType, String companyName){
return employeeApiService.queryJobList();
}
//首页-根据地址模糊查询工作信息
@ApiOperation(value="首页-根据地址模糊查询工作信息", notes="首页-根据地址模糊查询工作信息")
@RequestMapping(value = "/queryJobListByAddress", method = {RequestMethod.GET})
public Result<?> queryJobListByAddress(){
return null;
}
//首页-根据工种类型查询工作信息
@ApiOperation(value="首页-根据工种类型查询工作信息", notes="首页-根据工种类型查询工作信息")
@RequestMapping(value = "/queryJobListByType", method = {RequestMethod.GET})
public Result<?> queryJobListByType(){
return null;
}
//首页-智能推荐查询工作信息
@ApiOperation(value="首页-智能推荐查询工作信息", notes="首页-智能推荐查询工作信息")
@RequestMapping(value = "/queryJobList", method = {RequestMethod.GET})
public Result<?> queryJobList(){
return null;
}
//首页-发布找活
@ApiOperation(value="首页-发布找活", notes="首页-发布找活")
@RequestMapping(value = "/addJob", method = {RequestMethod.POST})
public Result<?> addJob(){
return null;
}
//首页-根据Id查看工作详情
@ApiOperation(value="首页-根据Id查看工作详情", notes="首页-根据Id查看工作详情")
@RequestMapping(value = "/queryJobById", method = {RequestMethod.GET})
public Result<?> queryJobById(){
return null;
}
/***************考证咨询***************/
//考证咨询-证书查询
@ApiOperation(value="考证咨询-证书查询", notes="考证咨询-证书查询")
@RequestMapping(value = "/queryCert", method = {RequestMethod.GET})
public Result<?> queryCert(){
return null;
}
//考证咨询-提交报名材料
@ApiOperation(value="考证咨询-提交报名材料", notes="考证咨询-提交报名材料")
@RequestMapping(value = "/addMaterial", method = {RequestMethod.POST})
public Result<?> addMaterial(){
return null;
}
//考证咨询-联系客服
@ApiOperation(value="考证咨询-联系客服", notes="考证咨询-联系客服")
@RequestMapping(value = "/queryWorker", method = {RequestMethod.GET})
public Result<?> queryWorker(){
return null;
}
}

+ 7
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/BossApiService.java View File

@ -0,0 +1,7 @@
package org.jeecg.modules.apiService;
import org.jeecg.common.api.vo.Result;
public interface BossApiService {
public Result<?> queryJobList();
}

+ 10
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/CommonApiService.java View File

@ -0,0 +1,10 @@
package org.jeecg.modules.apiService;
import org.jeecg.common.api.vo.Result;
public interface CommonApiService {
/***************首页***************/
//获取banner图列表
public Result<?> queryBannerList(String bannerCategoryId);
}

+ 10
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/EmployeeApiService.java View File

@ -0,0 +1,10 @@
package org.jeecg.modules.apiService;
import org.jeecg.common.api.vo.Result;
public interface EmployeeApiService {
/***************首页***************/
//首页-根据岗位/公司名称模糊查询工作信息
public Result<?> queryJobList();
}

+ 13
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/BossApiServiceImpl.java View File

@ -0,0 +1,13 @@
package org.jeecg.modules.apiService.impl;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiService.BossApiService;
import org.springframework.stereotype.Service;
@Service
public class BossApiServiceImpl implements BossApiService {
@Override
public Result<?> queryJobList() {
return null;
}
}

+ 13
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/CommonApiServiceImpl.java View File

@ -0,0 +1,13 @@
package org.jeecg.modules.apiService.impl;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiService.CommonApiService;
import org.springframework.stereotype.Service;
@Service
public class CommonApiServiceImpl implements CommonApiService {
@Override
public Result<?> queryBannerList(String bannerCategoryId) {
return null;
}
}

+ 13
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiService/impl/EmployeeApiServiceImpl.java View File

@ -0,0 +1,13 @@
package org.jeecg.modules.apiService.impl;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiService.EmployeeApiService;
import org.springframework.stereotype.Service;
@Service
public class EmployeeApiServiceImpl implements EmployeeApiService {
@Override
public Result<?> queryJobList() {
return null;
}
}

Loading…
Cancel
Save