|
@@ -1,10 +1,9 @@
|
|
|
package com.ruoyi.web.controller.sf;
|
|
|
|
|
|
-import cn.hutool.json.JSON;
|
|
|
+
|
|
|
import cn.hutool.json.JSONArray;
|
|
|
import cn.hutool.json.JSONObject;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
-import com.alibaba.druid.support.json.JSONUtils;
|
|
|
import com.ruoyi.common.utils.StringUtils;
|
|
|
import com.sf.csim.express.service.CallExpressServiceTools;
|
|
|
import com.sf.csim.express.service.HttpClientUtil;
|
|
@@ -41,7 +40,7 @@ public class CallExpressNewAPIServiceUtil {
|
|
|
* trackingType: 顺丰运单号
|
|
|
* @Date: 2023/3/20 17:25
|
|
|
**/
|
|
|
- public static JSONArray callSFApi(String checkPhoneNo ,String trackingType) throws Exception {
|
|
|
+ public static JSONArray callSFApi(String checkPhoneNo , String trackingType) throws Exception {
|
|
|
//验证请求参数
|
|
|
if (StringUtils.isEmpty(checkPhoneNo) || StringUtils.isEmpty(trackingType)) {
|
|
|
throw new Exception("参数不能为空!");
|