Commit 370b8a3f authored by 韩桐桐's avatar 韩桐桐

fix(jg):告知书顶部域名修改

parent 4ba9ff4a
......@@ -146,8 +146,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
@Value("classpath:/json/urlInfo.json")
public Resource bizTypeInfo;
@Value("${regulatory_code_prefix}")
String REGULATORY_CODE_PREFIX ;
@Value("${tzs.domain}")
String TZSDOMAIN ;
@Autowired
AmosRequestContext amosRequestContext;
......@@ -442,13 +442,12 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
}
});
}
String doMain = REGULATORY_CODE_PREFIX.substring(0,REGULATORY_CODE_PREFIX.lastIndexOf(":"));
Function<String, String> getValue = key -> installation.getOrDefault(key, "").toString();
// 组装模板变量
Map<String, Object> placeholders = new HashMap<>();
placeholders.put("doMain", doMain);
placeholders.put("doMain", TZSDOMAIN);
placeholders.put("installUnitName", getValue.apply("installUnitName"));
placeholders.put("informNumber", "".equals(getValue.apply("informNumber")) ? getValue.apply("applyNo") : getValue.apply("informNumber"));
placeholders.put("productName", getValue.apply("productName"));
......
......@@ -80,7 +80,7 @@ rule.definition.local-ip=172.16.10.243
# ??????????
minio.url.path=http://172.16.10.243:9000/
## \uFFFD\uFFFD\uFFFD\u027C\uFFFD\uFFFD\uFFFD\uFFFD\u01F0\u05FA\uFFFD\uFFFD\uFFFD\uFFFD
regulatory_code_prefix=https://sxtzsb.sxsei.com:19435/tzs?code=
tzs.domain=https://sxtzsb.sxsei.com
outSystem.user.password=a1234560
amos.system.user.app-key=AMOS_STUDIO
amos.system.user.product=STUDIO_APP_WEB
\ No newline at end of file
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