1.修改appUser获取列表权限
2.修改企业获取列表权限
This commit is contained in:
@@ -45,7 +45,7 @@ public class CmsAppUserController extends BaseController
|
||||
* 查询APP用户列表
|
||||
*/
|
||||
@ApiOperation("查询APP用户列表")
|
||||
@PreAuthorize("@ss.hasPermi('cms:appUser:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('cms:appUser:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(AppUser appUser)
|
||||
{
|
||||
|
||||
@@ -128,4 +128,14 @@ public class CompanyController extends BaseController
|
||||
List<Company> list = companyService.approvalList(company);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("查询公司列表")
|
||||
// @PreAuthorize("@ss.hasPermi('cms:company:list')")
|
||||
@GetMapping("/listPage")
|
||||
public TableDataInfo listPage(Company company)
|
||||
{
|
||||
startPage();
|
||||
List<Company> list = companyService.selectCompanyList(company);
|
||||
return getDataTable(list);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user