liupeng 5 years ago
parent
commit
584d748001

+ 6 - 4
code/sapparent/sapservice/src/main/resources/env/develop/config.properties

@@ -1,12 +1,14 @@
+env = develop
+
 #fouram
-#wxCp.corpId = ww51602aeb8dab7a95
-#wxCp.corpSecret = 0i1jzYxLcriGTXhoatAGYaCFUXshfASbavRScZQxVmI
+wxCp.corpId = ww51602aeb8dab7a95
+wxCp.corpSecret = 0i1jzYxLcriGTXhoatAGYaCFUXshfASbavRScZQxVmI
 #test
 #wxCp.corpId = ww3fa314d9782219c7
 #wxCp.corpSecret = 80lhnjKd6hKNp1tNkRsN9i0wOtrSZ7Sg_apJDNa1RDQ
 #prod
-wxCp.corpId = ww911e29458d3a46fd
-wxCp.corpSecret = amUNgH2lo-szEYkLmClZN2jMYcDu0NnXIAtWfW729P4
+#wxCp.corpId = ww911e29458d3a46fd
+#wxCp.corpSecret = amUNgH2lo-szEYkLmClZN2jMYcDu0NnXIAtWfW729P4
 
 wxCp.mailList.corpSecret = aI66cnVoFAd381rgd3NpyZaEP2qnuZJ2ogpZKWmz9qg
 wxCp.redirectUri = http://cmcadressbook.suggest.vip/sapcms

+ 0 - 1
code/sapparent/sapservice/src/main/resources/env/develop/env.dev

@@ -1 +0,0 @@
-develop

+ 8 - 8
code/sapparent/sapservice/src/main/resources/env/develop/jdbc.properties

@@ -1,9 +1,9 @@
-jdbc_url=jdbc:mysql://118.25.182.250:3306/cmc_sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
-jdbc_driverClassName=com.mysql.jdbc.Driver
-jdbc_username=cmc
-jdbc_password=123456
-
-#jdbc_url=jdbc:mysql://localhost:3306/sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
+#jdbc_url=jdbc:mysql://118.25.182.250:3306/cmc_sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
 #jdbc_driverClassName=com.mysql.jdbc.Driver
-#jdbc_username=root
-#jdbc_password=123456
+#jdbc_username=cmc
+#jdbc_password=123456
+
+jdbc_url=jdbc:mysql://localhost:3306/sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
+jdbc_driverClassName=com.mysql.jdbc.Driver
+jdbc_username=root
+jdbc_password=123456

+ 22 - 3
code/sapparent/sapservice/src/main/resources/env/product/config.properties

@@ -1,4 +1,23 @@
-wxCp.corpId = ww51602aeb8dab7a95
-wxCp.corpSecret = 0i1jzYxLcriGTXhoatAGYaCFUXshfASbavRScZQxVmI
+env = product
+
+#fouram
+#wxCp.corpId = ww51602aeb8dab7a95
+#wxCp.corpSecret = 0i1jzYxLcriGTXhoatAGYaCFUXshfASbavRScZQxVmI
+#test
+#wxCp.corpId = ww3fa314d9782219c7
+#wxCp.corpSecret = 80lhnjKd6hKNp1tNkRsN9i0wOtrSZ7Sg_apJDNa1RDQ
+#prod
+wxCp.corpId = ww911e29458d3a46fd
+wxCp.corpSecret = amUNgH2lo-szEYkLmClZN2jMYcDu0NnXIAtWfW729P4
+
+wxCp.mailList.corpSecret = aI66cnVoFAd381rgd3NpyZaEP2qnuZJ2ogpZKWmz9qg
+wxCp.redirectUri = http://cmcadressbook.suggest.vip/sapcms
+wxCp.mailList.userId = 1,2,3,4,5,6,7,8,9,10,dd4d61108fecaa34918a555fd1d8cce1,1102
+
+#test
+#sapApi.user = APIADMIN@cmccoltdD:123456
+#prod
+sapApi.user = API01@cmccoltd:cmccoltd123
+
+ingorePersonIds = ,400023,400024,
 
-sapApi.user = APIADMIN@cmccoltdD:12345

+ 0 - 1
code/sapparent/sapservice/src/main/resources/env/product/env.prd

@@ -1 +0,0 @@
-porduct

+ 8 - 3
code/sapparent/sapservice/src/main/resources/env/product/jdbc.properties

@@ -1,4 +1,9 @@
-jdbc_url=jdbc:mysql://localhost:3306/sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
+jdbc_url=jdbc:mysql://118.25.182.250:3306/cmc_sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
 jdbc_driverClassName=com.mysql.jdbc.Driver
-jdbc_username=root
-jdbc_password=123456
+jdbc_username=cmc
+jdbc_password=123456
+
+#jdbc_url=jdbc:mysql://localhost:3306/sap?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false
+#jdbc_driverClassName=com.mysql.jdbc.Driver
+#jdbc_username=root
+#jdbc_password=123456