|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.engine.hrmelog.util;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
|
|
@ -104,8 +105,7 @@ public class ResponseResult<T, R> {
|
|
|
|
|
Map<String, Object> apidatas = new HashMap<>();
|
|
|
|
|
apidatas.put("status", true);
|
|
|
|
|
apidatas.put("data", r);
|
|
|
|
|
String success = getJsonString(apidatas);
|
|
|
|
|
return success;
|
|
|
|
|
return JSON.toJSONString(apidatas);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|