Commit 08a1a844 authored by yanzg's avatar yanzg

异常处理显示

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