|
@@ -17,6 +17,7 @@ import com.diagbot.util.FastJsonUtils;
|
|
import com.diagbot.util.StringUtil;
|
|
import com.diagbot.util.StringUtil;
|
|
import com.diagbot.vo.SaveInquiryVO;
|
|
import com.diagbot.vo.SaveInquiryVO;
|
|
import com.google.common.collect.Lists;
|
|
import com.google.common.collect.Lists;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
@@ -34,6 +35,7 @@ import java.util.Map;
|
|
* @time: 2020/2/1 23:33
|
|
* @time: 2020/2/1 23:33
|
|
*/
|
|
*/
|
|
@Component
|
|
@Component
|
|
|
|
+@Slf4j
|
|
public class InquiryInfoFacade extends InquiryInfoServiceImpl {
|
|
public class InquiryInfoFacade extends InquiryInfoServiceImpl {
|
|
// @Autowired
|
|
// @Autowired
|
|
// private InquiryDetailFacade inquiryDetailFacade;
|
|
// private InquiryDetailFacade inquiryDetailFacade;
|
|
@@ -86,6 +88,7 @@ public class InquiryInfoFacade extends InquiryInfoServiceImpl {
|
|
String encodingAesKey = "";
|
|
String encodingAesKey = "";
|
|
Client client = new Client(apiUrl, appKey, appSecret, encodingAesKey);
|
|
Client client = new Client(apiUrl, appKey, appSecret, encodingAesKey);
|
|
response = client.execute(getltcs(saveInquiryVO));
|
|
response = client.execute(getltcs(saveInquiryVO));
|
|
|
|
+ log.info(FastJsonUtils.getBeanToJson(response));
|
|
if (response.isSuccess()) {
|
|
if (response.isSuccess()) {
|
|
JSONResponseBean result = response.getJsonResponseBean();
|
|
JSONResponseBean result = response.getJsonResponseBean();
|
|
retUrl = result.getBody().toString();
|
|
retUrl = result.getBody().toString();
|