修改登陆问题

parent bc6d0920
package com.xzxtshiro.util;
import com.xzxtshiro.pojo.SysDictitem;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.RequestParam;
......@@ -28,6 +29,26 @@ public class RedisUtil {
}
return xzxtRestResult;
}
/**
*模糊查詢
* hkey:省份 山西:14
* key: :14_CODE_UNIT_141181991700
* @return
*/
public static XzxtRestResult ReadRedisRestList(String hkey,String key,String name) {
//查询参数
Map<String, String> param = new HashMap<>();
XzxtRestResult xzxtRestResult = new XzxtRestResult();
param.put("hkey", hkey);
param.put("key", key);
param.put("name", name);
//调用redisrest的服务
String json = HttpClientUtil.doPost("http://127.0.0.1:9043/xzxt-rest/ReadRedisRestList", param);
if (!StringUtils.isBlank(json)) {
xzxtRestResult = XzxtRestResult.formatToList(json,SysDictitem.class);
}
return xzxtRestResult;
}
//更新edis服务
/**
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment