Authored by hugufei

添加readOnlyInSlave属性

@@ -4,4 +4,6 @@ datasources: @@ -4,4 +4,6 @@ datasources:
4 - 192.168.102.216:3306 4 - 192.168.102.216:3306
5 - 192.168.102.216:3306 5 - 192.168.102.216:3306
6 username: yh_test 6 username: yh_test
7 - password: 9nm0icOwt6bMHjMusIfMLw==  
  7 + password: 9nm0icOwt6bMHjMusIfMLw==
  8 +
  9 +readOnlyInSlave: true
@@ -5,3 +5,5 @@ datasources: @@ -5,3 +5,5 @@ datasources:
5 - ${jdbc.mysql.yhbsearch.slave} 5 - ${jdbc.mysql.yhbsearch.slave}
6 username: ${jdbc.mysql.yhbsearch.username} 6 username: ${jdbc.mysql.yhbsearch.username}
7 password: ${jdbc.mysql.yhbsearch.password} 7 password: ${jdbc.mysql.yhbsearch.password}
  8 +
  9 +readOnlyInSlave: ${readOnlyInSlave}