Commit 08a1a844 authored by yanzg's avatar yanzg

异常处理显示

parent b9efc5fd
...@@ -93,11 +93,8 @@ public class CookiesHelper { ...@@ -93,11 +93,8 @@ public class CookiesHelper {
addCookie(response, key, toValue); addCookie(response, key, toValue);
} else { } else {
int page = StringHelper.getPage(toValue.length(), ITEM_MAX_SIZE); int page = StringHelper.getPage(toValue.length(), ITEM_MAX_SIZE);
{ // 总Cookies数量
// 总Cookies数量 addCookie(response, key, String.valueOf(page));
Cookie cookie = new Cookie(key, String.valueOf(page));
response.addCookie(cookie);
}
for (int i = 0; i <= page; i++) { for (int i = 0; i <= page; i++) {
String itemKey = String.format(TAG_FORMAT, key, i); String itemKey = String.format(TAG_FORMAT, key, i);
int start = i * ITEM_MAX_SIZE; int start = i * ITEM_MAX_SIZE;
......
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