完成小程序帮助管理接口
This commit is contained in:
parent
af68f5c475
commit
57a37b3ba7
@ -19,6 +19,7 @@ import java.util.List;
|
|||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/help")
|
@RequestMapping("/help")
|
||||||
public class XhpcHelpController extends BaseController {
|
public class XhpcHelpController extends BaseController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
IXhpcHelpService iXhpcHelpService;
|
IXhpcHelpService iXhpcHelpService;
|
||||||
@PostMapping("/delete")
|
@PostMapping("/delete")
|
||||||
@ -47,9 +48,27 @@ public class XhpcHelpController extends BaseController {
|
|||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("/selectItem")
|
@GetMapping("/selectItem")
|
||||||
public AjaxResult selectHelpItem(@RequestParam Long helpId){
|
public AjaxResult selectHelpItem(@RequestParam Long helpId){
|
||||||
|
|
||||||
return iXhpcHelpService.selectHelpItem(helpId);
|
return iXhpcHelpService.selectHelpItem(helpId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@GetMapping(value = "/listTitles")
|
||||||
|
public TableDataInfo listTitles(@RequestParam Integer type){
|
||||||
|
|
||||||
|
startPage();
|
||||||
|
return getDataTable(iXhpcHelpService.selectTitleId(type));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping(value = "/showContent")
|
||||||
|
public AjaxResult listDetails(@RequestParam Long helpId){
|
||||||
|
|
||||||
|
return AjaxResult.success(iXhpcHelpService.selectDetails(helpId));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user