----------
This commit is contained in:
@ -131,12 +131,11 @@ public class UserInfoController {
|
||||
|
||||
|
||||
/**
|
||||
* 小程序端查询员工申请须知
|
||||
* (Web端)小程序端查询员工申请须知
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
@PostMapping("query/applyNotice")
|
||||
@Operation(summary = "小程序端查询员工申请须知", description = "参数:无,权限:管理员(boss, admin),方法名:queryApplyNotice")
|
||||
@RequiresPermission(mustRole = UserConstant.DEFAULT_ROLE)
|
||||
public BaseResponse<String> queryApplyNotice() {
|
||||
String applyNotice = redisTemplate.opsForValue().get(UserConstant.APPLY_NOTICE_KEY);
|
||||
return ResultUtils.success(applyNotice);
|
||||
@ -159,12 +158,11 @@ public class UserInfoController {
|
||||
|
||||
|
||||
/**
|
||||
* 小程序端查询课程购买须知
|
||||
* (Web端)小程序端查询课程购买须知
|
||||
* @return 是否修改成功
|
||||
*/
|
||||
@PostMapping("query/courseDesc")
|
||||
@Operation(summary = "小程序端查询课程购买须知", description = "参数:无,权限:管理员(boss, admin),方法名:queryApplyNotice")
|
||||
@RequiresPermission(mustRole = UserConstant.DEFAULT_ROLE)
|
||||
public BaseResponse<String> queryCourseDesc() {
|
||||
String courseDesc = redisTemplate.opsForValue().get(UserConstant.COURSE_DESC_KEY);
|
||||
return ResultUtils.success(courseDesc);
|
||||
|
Reference in New Issue
Block a user