修改小程序接口
This commit is contained in:
parent
c3bb25220d
commit
677eb54be6
|
@ -84,9 +84,9 @@ public class WechatController extends BaseController {
|
|||
// @RequiresPermissions("base:dept:list")
|
||||
@PostMapping("/deptList")
|
||||
@ResponseBody
|
||||
public List<SysDept> deptList(@RequestBody SysDept dept)
|
||||
public AjaxResult deptList(@RequestBody SysDept dept)
|
||||
{
|
||||
return deptService.selectDeptList(dept);
|
||||
return AjaxResult.success(deptService.selectDeptList(dept));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -97,9 +97,9 @@ public class WechatController extends BaseController {
|
|||
// @RequiresPermissions("base:personnel:list")
|
||||
@PostMapping("/personList")
|
||||
@ResponseBody
|
||||
public List<TAmentPersonnel> personList(@RequestBody TAmentPersonnel personnel)
|
||||
public AjaxResult personList(@RequestBody TAmentPersonnel personnel)
|
||||
{
|
||||
return personnelService.selectTAmentPersonnelList(personnel);
|
||||
return AjaxResult.success(personnelService.selectTAmentPersonnelList(personnel));
|
||||
}
|
||||
|
||||
// @RequiresPermissions("base:affairs:list")
|
||||
|
|
Loading…
Reference in New Issue