java110
2021-09-22 65b0a898ec289f27dfe073f2abc0675a00a4934e
service-api/src/main/java/com/java110/api/rest/RestApi.java
old mode 100644 new mode 100755
@@ -14,7 +14,11 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
@@ -37,6 +41,7 @@
    @Autowired
    private IUserInnerServiceSMO userInnerServiceSMOImpl;
    /**
     * 健康检查 服务
@@ -118,7 +123,7 @@
            this.getRequestInfo(request, headers);
            headers.put(CommonConstant.HTTP_SERVICE, service);
            headers.put(CommonConstant.HTTP_METHOD, CommonConstant.HTTP_METHOD_GET);
            logger.debug("api:{} 请求报文为:{},header信息为:{}", "", headers);
            logger.debug("api:{} 请求报文为:{},header信息为:{}", service, headers);
            responseEntity = apiServiceSMOImpl.service(JSONObject.toJSONString(getParameterStringMap(request)), headers);
        } catch (Throwable e) {
            logger.error("请求get 方法[" + service + "]失败:", e);