Commit 70c2f854 authored by chenyan's avatar chenyan

2024/04/27_行业应用接口修改

parent 346c918d
...@@ -12,12 +12,14 @@ import org.springframework.web.bind.annotation.*; ...@@ -12,12 +12,14 @@ import org.springframework.web.bind.annotation.*;
@RequestMapping("industryApplicationInfo") @RequestMapping("industryApplicationInfo")
public class IndustryApplicationInfoController extends BaseController<IndustryApplicationInfoBiz, IndustryApplicationInfo> { public class IndustryApplicationInfoController extends BaseController<IndustryApplicationInfoBiz, IndustryApplicationInfo> {
@PostMapping(value = "addUpdate") @PostMapping(value = "/app/unauth/addUpdate")
@IgnoreUserToken
public ObjectRestResponse addUpdate(@RequestBody IndustryApplicationInfo industryApplicationInfo) { public ObjectRestResponse addUpdate(@RequestBody IndustryApplicationInfo industryApplicationInfo) {
return baseBiz.addObj(industryApplicationInfo); return baseBiz.addObj(industryApplicationInfo);
} }
@GetMapping(value = "getList") @GetMapping(value = "/app/unauth/getList")
@IgnoreUserToken
public ObjectRestResponse getList(IndustryApplicationInfoDto industryApplicationInfoDto) { public ObjectRestResponse getList(IndustryApplicationInfoDto industryApplicationInfoDto) {
return baseBiz.selectList(industryApplicationInfoDto); return baseBiz.selectList(industryApplicationInfoDto);
} }
...@@ -34,4 +36,4 @@ public class IndustryApplicationInfoController extends BaseController<IndustryAp ...@@ -34,4 +36,4 @@ public class IndustryApplicationInfoController extends BaseController<IndustryAp
return ObjectRestResponse.succ(baseBiz.selectById(id)); return ObjectRestResponse.succ(baseBiz.selectById(id));
} }
} }
\ No newline at end of file
...@@ -17,19 +17,22 @@ public class TModelController extends BaseController<TModelBiz, TModel> { ...@@ -17,19 +17,22 @@ public class TModelController extends BaseController<TModelBiz, TModel> {
@PostMapping(value = "addUpdate") @PostMapping(value = "/app/unauth/addUpdate")
@IgnoreUserToken
public ObjectRestResponse addUpdate(@RequestBody TModel tModel) { public ObjectRestResponse addUpdate(@RequestBody TModel tModel) {
return baseBiz.addObj(tModel); return baseBiz.addObj(tModel);
} }
@PostMapping(value = "getList") @PostMapping(value = "/app/unauth/getList")
@IgnoreUserToken
public ObjectRestResponse getList(@RequestBody TModelDTO tModelDTO) { public ObjectRestResponse getList(@RequestBody TModelDTO tModelDTO) {
return baseBiz.getList(tModelDTO); return baseBiz.getList(tModelDTO);
} }
@GetMapping(value = "/detail") @GetMapping(value = "/app/unauth/detail")
@IgnoreUserToken
public ObjectRestResponse detail(Integer id) { public ObjectRestResponse detail(Integer id) {
return ObjectRestResponse.succ(baseBiz.selectById(id)); return ObjectRestResponse.succ(baseBiz.selectById(id));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment