|
@@ -8,6 +8,13 @@
|
|
|
### branch
|
|
|
- master debug sandbox
|
|
|
|
|
|
+### pack
|
|
|
+- 在static/下新建base_config.js
|
|
|
+- base_config.js用于导出正式环境加密用的key,`window.key='对应环境的密钥'`
|
|
|
+- 在index.html中引入
|
|
|
+- 在src/api/crypto.js中,将key替换成window.key
|
|
|
+- 打包完成后,发布不同环境,只需要更改base_config.js中的密钥
|
|
|
+
|
|
|
### link
|
|
|
- http://8.136.199.33:7778 弘则测试
|
|
|
- https://eta.hzinsights.com 弘则正式
|