修改权限

wushunjie
杜函宇 7 months ago
parent dcc136434c
commit 392485c8d7

@ -163,7 +163,7 @@ public class JSmartRemindersController extends BaseController {
* @param id
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov')")
@ApiOperation(value = "通过主键查询单条智能提醒规则数据", response = JSmartReminders.class)
@GetMapping("{id}")
public AjaxResult selectOneSmart(@PathVariable Serializable id) {
@ -176,7 +176,7 @@ public class JSmartRemindersController extends BaseController {
* @param jSmartRemindersDq
* @return
*/
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov')")
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov')")
@ApiOperation(value = "新增定期提醒数据(政务端和企业端)")
@PostMapping
public AjaxResult insertDs(@RequestBody @Valid JSmartRemindersDq jSmartRemindersDq) throws SchedulerException, TaskException {

Loading…
Cancel
Save