首页 > TAG信息列表 > jsonParam

HttpClient工具类封装

HttpClient工具类封装 package com.raysdata.iothub.server.util; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import org.apache.http.HttpEntity; import org.apache.http.HttpStatus; import org.apache.http.client.config.Reque

完整版EXCEL导出 (大框架SpringCloud 业务还是Springboot一套)

这里用的是easypoi 首先引入jar包 <!-- excel --><dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-base</artifactId> <version>${easypoi.version}</version></dependency><dependency> &

SpringBoot生成docx文件并返回其Base64编码

直接上源码,   @ResponseBody @RequestMapping(value = "/getDocx", method = RequestMethod.GET) public String getDocumentBase64(@RequestBody JSONObject jsonParam, HttpServletResponse res){ String fileName = "default.docx";

JsonConvert

///"{'jsonParam' : " + jsonText + "}" /* Dictionary<string, object> tmp = (Dictionary<string, object>)jsonParam; Employee ee = JsonConvert.DeserializeObject<Employee>(JsonConvert.Ser