1dd52b20 by joe

部分参数抽离代码

1 parent a7acbf78
...@@ -3,3 +3,5 @@ VUE_APP_TITLE = 'development' ...@@ -3,3 +3,5 @@ VUE_APP_TITLE = 'development'
3 VUE_APP_BASE_URL= 'http://localhost:9101' 3 VUE_APP_BASE_URL= 'http://localhost:9101'
4 VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' 4 VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
5 VUE_APP_RSA_KEY_INDEX = '10001' 5 VUE_APP_RSA_KEY_INDEX = '10001'
6 VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex'
7 VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4'
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -4,3 +4,5 @@ VUE_APP_TITLE = 'dist' ...@@ -4,3 +4,5 @@ VUE_APP_TITLE = 'dist'
4 VUE_APP_BASE_URL= 'https://ow.go.qudone.com' 4 VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
5 VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' 5 VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
6 VUE_APP_RSA_KEY_INDEX = '10001' 6 VUE_APP_RSA_KEY_INDEX = '10001'
7 VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex'
8 VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4'
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -3,3 +3,5 @@ VUE_APP_TITLE = 'sandbox' ...@@ -3,3 +3,5 @@ VUE_APP_TITLE = 'sandbox'
3 VUE_APP_BASE_URL= 'https://ow.go.qudone.com' 3 VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
4 VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' 4 VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
5 VUE_APP_RSA_KEY_INDEX = '10001' 5 VUE_APP_RSA_KEY_INDEX = '10001'
6 VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex'
7 VUE_APP_INDEX_VIDEO = 'https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4'
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
122 sources: [{ 122 sources: [{
123 type: "video/mp4", 123 type: "video/mp4",
124 // mp4 124 // mp4
125 src: "https://ow.go.qudone.com/jyesupload/ee516bb327484197b7ca72f3dc4be9e6.mp4", 125 src: process.env.VUE_APP_INDEX_VIDEO,
126 // webm 126 // webm
127 // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm" 127 // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
128 }], 128 }],
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 * @param {string} lan 语言 3 * @param {string} lan 语言
4 */ 4 */
5 export function gotoVHIS(lan) { 5 export function gotoVHIS(lan) {
6 let url = "https://icpois.pingan.com/vhis/insurIndex"; 6 let url = process.env.VUE_APP_VHIS_INDEX;
7 switch (lan) { 7 switch (lan) {
8 case 'zh': 8 case 'zh':
9 url += "?language=zh-cn"; 9 url += "?language=zh-cn";
......