package com.cirle.scientific.utils;







public class OSSPathUtil {

    public static final String FILE_PATH = "http://files.qkyxzx.com/";

    public static final String FILE_PATHS = "https://files.qkyxzx.com/";


    /**
     * 拼接文件路径
     *
     * @param url 全路径
     * @return str
     */
    public static String jointFileUrl(String url) {
        if (url == null || "".equals(url)) {
            return url;
        }
        int pos = url.indexOf("http");
        if (pos != 0) {
            url = FILE_PATH + url;
        }
        return url ;
    }


}
