|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.glxp.api.controller.thrsys;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.alibaba.fastjson.TypeReference;
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
@ -187,6 +188,9 @@ public class ThrInvProductsController {
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
String response = httpOkClient.uCloudPost(url, thrOnhandRequest, thrSystemEntity);
|
|
|
|
|
if(StrUtil.isEmpty(response)){
|
|
|
|
|
return ResultVOUtils.error(500, "连接第三方系统接口服务出错!");
|
|
|
|
|
}
|
|
|
|
|
BaseResponse<PageSimpleResponse<ThrInvProductResponse>> udiDlDeviceResponse =
|
|
|
|
|
JSONObject.parseObject(response, new TypeReference<BaseResponse<PageSimpleResponse<ThrInvProductResponse>>>() {
|
|
|
|
|
});
|
|
|
|
|