Browse Source

项目结构修改

chenweida 7 years ago
parent
commit
b2a82d0b32

+ 3 - 3
base/common-data-fastdfs/src/main/java/com/yihu/base/config/FastDFSConfig.java

@ -1,7 +1,7 @@
package com.yihu.base.config;
import com.yihu.base.fastdfs.FastDFSClientPool;
import com.yihu.base.fastdfs.FastDFSUtil;
import com.yihu.base.fastdfs.FastDFSHelper;
import org.csource.common.MyException;
import org.csource.fastdfs.ClientGlobal;
import org.csource.fastdfs.TrackerGroup;
@ -110,8 +110,8 @@ public class FastDFSConfig {
    }
    @Bean
    public FastDFSUtil fastDFSUtil(){
        FastDFSUtil util = new FastDFSUtil();
    public FastDFSHelper fastDFSUtil(){
        FastDFSHelper util = new FastDFSHelper();
        return util;
    }
}

+ 2 - 2
base/common-data-fastdfs/src/main/java/com/yihu/base/fastdfs/FastDFSUtil.java

@ -19,8 +19,8 @@ import java.net.InetSocketAddress;
 * @author szx
 * @author Sand
 */
public class FastDFSUtil {
    private Logger logger= LoggerFactory.getLogger(FastDFSUtil.class);
public class FastDFSHelper {
    private Logger logger= LoggerFactory.getLogger(FastDFSHelper.class);
    public final static String GroupField = "groupName";
    public final static String RemoteFileField = "remoteFileName";
    public final static String FileIdField = "fid";