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