mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
Merge branch 'develop'
This commit is contained in:
@@ -4,6 +4,7 @@ import com.gitee.sop.servercommon.configuration.EasyopenDocSupportController;
|
|||||||
import com.gitee.sop.servercommon.configuration.EasyopenServiceConfiguration;
|
import com.gitee.sop.servercommon.configuration.EasyopenServiceConfiguration;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author tanghc
|
* @author tanghc
|
||||||
@@ -18,4 +19,10 @@ public class SopConfig extends EasyopenServiceConfiguration {
|
|||||||
return "商品API";
|
return "商品API";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||||
|
//配置映射关系
|
||||||
|
registry.addResourceHandler("/opendoc/**").addResourceLocations("classpath:/META-INF/resources/opendoc/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,6 @@
|
|||||||
server:
|
server:
|
||||||
port: 2121
|
port: 2121
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 指定注册中心
|
# 指定注册中心
|
||||||
eureka:
|
eureka:
|
||||||
port: 1111
|
port: 1111
|
||||||
|
Reference in New Issue
Block a user