Commit 522c7256 by ping.wu

Merge branch 'feature/20231102_订单宝录入会员信息订单送积分经验值_wuping' of…

Merge branch 'feature/20231102_订单宝录入会员信息订单送积分经验值_wuping' of https://gitlab.freemud.com/order-group-application/order-group into qa
parents 7bca3aab abe36a61
......@@ -62,7 +62,7 @@
<dependency>
<groupId>com.freemud.sdk.api.assortment</groupId>
<artifactId>assortment-orderdistributor-sdk</artifactId>
<version>3.6.1.RELEASE</version>
<version>3.6.2.RELEASE</version>
</dependency>
<dependency>
<groupId>com.freemud.sdk.api.assortment</groupId>
......
......@@ -12,6 +12,7 @@
*/
package cn.freemud;
import com.alibaba.fastjson.parser.ParserConfig;
import com.freemud.application.sdk.api.log.LogThreadLocal;
import feign.RequestInterceptor;
import org.apache.commons.lang.StringUtils;
......@@ -53,6 +54,7 @@ public class ApiApplication {
public static void main(String[] args) {
String getenv = System.getenv("VERSION_FLAG");
System.setProperty("eureka.instance.metadataMap.version", StringUtils.isEmpty(getenv) ? GRAY_VERSION_PROD : GRAY_VERSION_GRAY.equals(getenv) ? GRAY_VERSION_GRAY : GRAY_VERSION_PROD);
ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
SpringApplication.run(ApiApplication.class, args);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment