|
|
@@ -20,6 +20,8 @@ import com.dgtly.wxportal.domain.WxMagnet;
|
|
|
import com.dgtly.wxportal.service.IWxMagnetService;
|
|
|
import com.dgtly.wxportal.utils.JedisPoolUtil;
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
@@ -41,6 +43,8 @@ import java.util.Map;
|
|
|
@RequestMapping("/wxportal/magnet")
|
|
|
public class WxMagnetController extends BaseController
|
|
|
{
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(WxMagnetController.class);
|
|
|
+
|
|
|
private String prefix = "wxportal/magnet";
|
|
|
|
|
|
@Autowired
|
|
|
@@ -215,8 +219,6 @@ public class WxMagnetController extends BaseController
|
|
|
@ResponseBody
|
|
|
public AjaxResult cleanRedisByDb(@RequestBody RedisDbParam redisDbParam)
|
|
|
{
|
|
|
-
|
|
|
-
|
|
|
if(redisDbParam.getRedisDb().length==0){
|
|
|
return AjaxResult.error(201,"redis库未指定!");
|
|
|
}
|