|
|
|
@ -241,5 +241,23 @@ public class HighUserController { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/delCacheParam",method = RequestMethod.GET) |
|
|
|
|
@ResponseBody |
|
|
|
|
@ApiOperation(value = "删除设置用户参数") |
|
|
|
|
public ResponseData delCacheParam(@RequestParam(name = "key", required = true) String key) { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
Object param = redisUtil.hget("PROVISIONAL_CACHE_PARAM", key); |
|
|
|
|
if (param != null) { |
|
|
|
|
redisUtil.hdel("PROVISIONAL_CACHE_PARAM", key); |
|
|
|
|
} |
|
|
|
|
return ResponseMsgUtil.success("操作成功"); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("CommonController --> delCacheParam() error!", e); |
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|