添加jwt支持

This commit is contained in:
zhh
2018-04-20 17:49:25 +08:00
parent 744e52abf4
commit cd1dd9190a
9 changed files with 246 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
package com.macro.mall.dto;
import com.github.pagehelper.PageInfo;
import com.macro.mall.util.JsonUtils;
import com.macro.mall.util.JsonUtil;
import org.springframework.validation.BindingResult;
import java.util.HashMap;
@@ -79,7 +79,7 @@ public class CommonResult {
@Override
public String toString() {
return JsonUtils.objectToJson(this);
return JsonUtil.objectToJson(this);
}
public int getCode() {