完成小程序帮助管理接口
This commit is contained in:
parent
af68f5c475
commit
57a37b3ba7
@ -19,6 +19,7 @@ import java.util.List;
|
||||
@RestController
|
||||
@RequestMapping("/help")
|
||||
public class XhpcHelpController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
IXhpcHelpService iXhpcHelpService;
|
||||
@PostMapping("/delete")
|
||||
@ -47,9 +48,27 @@ public class XhpcHelpController extends BaseController {
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@GetMapping("/selectItem")
|
||||
public AjaxResult selectHelpItem(@RequestParam Long 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