Commit 9c1d2b1e authored by yanzg's avatar yanzg

异常处理显示

parent 363a7a9c
......@@ -48,6 +48,9 @@ public class CookiesHelper {
*/
public static String get(String key) throws UnsupportedEncodingException {
HttpServletRequest request = getRequest();
if (request.getCookies() == null) {
return StringHelper.EMPTY;
}
Map<String, String> map = new HashMap<>();
int keyLength = 0;
......
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