Commit f77c1cd2 by guojuxing

test log

parent 64897ccb
......@@ -12,6 +12,7 @@ import org.apache.http.client.methods.HttpPost;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
......@@ -53,8 +54,8 @@ public class GicTicketController {
@RequestMapping("/get-gic-service-select")
@IgnoreLogin
@HeaderSignIgnore
public RestResponse getGicServiceSelect(HttpPost httpPost) {
LOGGER.info("测试参数:{}", JSON.toJSONString(httpPost.getEntity()));
public RestResponse getGicServiceSelect(@RequestBody String requestBody) {
LOGGER.info("测试参数:{}", JSON.toJSONString(requestBody));
return ResultControllerUtils.commonResult(udeskBaseApiService.getGicServiceSelect());
}
......
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