public static ExpResultInfoVo getExpInfo(String orderNo, String type) {
        QueryHeard queryHeard = new QueryHeard(orderNo, type).invoke();
        String host = queryHeard.getHost();
        String path = queryHeard.getPath();
        Map<String, String> headers = queryHeard.getHeaders();
        Map<String, String> queries = queryHeard.getQueries();

        try {
            return getExpResultInfoDto(host, path, headers, queries);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }
public static ExpResultInfoVo getExpInfo ( String orderNo , String type ) { QueryHeard queryHeard = new QueryHeard ( orderNo , type ) . invoke ( ) ; String host = queryHeard . getHost ( ) ; String path = queryHeard . getPath ( ) ; Map < String , String > headers = queryHeard . getHeaders ( ) ; Map < String , String > queries = queryHeard . getQueries ( ) ; try { return getExpResultInfoDto ( host , path , headers , queries ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } return null ; }
返回物流实体 用于其他处理

@param orderNo 物流单号
@param type    物流公司
@return