增加游客权限

wushunjie
杜函宇 2 months ago
parent 82fdd34ddd
commit 8850edfb21

@ -37,7 +37,7 @@ public class JContactsController extends BaseController {
* @param jContacts
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
@ApiOperation(value = "分页查询联络人数据", response = JContacts.class)
@GetMapping
public AjaxResult selectAll(JContactsRequest jContacts) {
@ -64,7 +64,7 @@ public class JContactsController extends BaseController {
* @param id
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
@ApiOperation(value = "通过主键查询单条数据", response = JContacts.class)
@GetMapping("{id}")
public AjaxResult selectOne(@PathVariable Serializable id) {

@ -51,7 +51,7 @@ public class JEnterpriseContactController extends BaseController {
* @param jEnterpriseContactRequest
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
@ApiOperation(value = "分页查询所有数据", response = JEnterpriseContact.class)
@GetMapping
public AjaxResult selectAll(Page<JEnterpriseContact> page, JEnterpriseContactRequest jEnterpriseContactRequest) {
@ -82,7 +82,7 @@ public class JEnterpriseContactController extends BaseController {
* @param id
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
@ApiOperation(value = "通过主键查询单条数据", response = JEnterpriseContact.class)
@GetMapping("{id}")
public AjaxResult selectOne(@PathVariable Serializable id) {

@ -35,7 +35,7 @@ public class JProjectFundController extends BaseController {
*
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
@ApiOperation(value = "查询该项目id下的资金情况", response = JProjectFund.class)
@GetMapping("/{id}")
public AjaxResult selectFund(@PathVariable Long id) {

@ -110,7 +110,7 @@ public class JSmartRemindersController extends BaseController {
*
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,sightseer')")
@ApiOperation(value = "政务端首页智能提醒查询数据", response = JSmartDeclaration.class)
@GetMapping("/chiefAll")
public AjaxResult chiefAll(Page<HomeRequestSmart> page, JRemindChiefAllRequest req) {

@ -38,7 +38,7 @@ public class SysDictDataController extends BaseController {
@Autowired
private ISysDictTypeService dictTypeService;
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
@GetMapping("/getAllList")
public AjaxResult getAllList(SysDictData dictData) {
return success(dictDataService.selectDictDataList(dictData));

Loading…
Cancel
Save