application.properties 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. #内嵌Tomcat端口
  2. server.port=8092
  3. logging.level=DEBUG
  4. #管理员配置
  5. admin.users=admin:admin,123:123
  6. #XMPP Properties(XMPP主机和端口以及推送用户配置)
  7. xmpp.host=113.105.74.140
  8. xmpp.port=5222
  9. xmpp.username=10005
  10. xmpp.password=10005
  11. #Mysql DataSource Pool Properties(MySQL数据库配置,用于userId生成)
  12. datasource.pool.driverClassName=com.mysql.jdbc.Driver
  13. datasource.pool.username=imapi
  14. datasource.pool.password=li1026
  15. #datasource.pool.username=mobileapp
  16. #datasource.pool.password=mobile123
  17. datasource.pool.jmxEnabled=true
  18. datasource.pool.testWhileIdle=true
  19. datasource.pool.testOnBorrow=true
  20. datasource.pool.testOnReturn=false
  21. datasource.pool.validationInterval=30000
  22. datasource.pool.validationQuery=SELECT 1 FROM DUAL
  23. datasource.pool.timeBetweenEvictionRunsMillis=30000
  24. datasource.pool.maxActive=10000
  25. datasource.pool.initialSize=10
  26. datasource.pool.maxWait=10000
  27. datasource.pool.minEvictableIdleTimeMillis=30000
  28. datasource.pool.minIdle=10
  29. datasource.pool.logAbandoned=false
  30. datasource.pool.removeAbandoned=true
  31. datasource.pool.removeAbandonedTimeout=60
  32. datasource.pool.jdbcInterceptors=org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
  33. datasource.pool.url=jdbc:mysql://10.10.100.18:3306/imapi?autoReconnect=true&useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
  34. #Mongodb Properties(数据库配置)
  35. mongo.host=10.10.100.22
  36. mongo.port=27017
  37. mongo.dbName=imapi
  38. mongo.username=imapi
  39. #Redis Properties(缓存配置)
  40. redis.host=10.10.100.200
  41. redis.port=6379
  42. #Open189 Properties(短信下发配置,基于天翼开放平台)
  43. open.189.app_id=216461910000035461
  44. open.189.app_secret=6ee8640fa58fb452c69e265f455cabac
  45. open.189.app_template_id_random=91001047
  46. open.189.app_template_id_invite=91001772
  47. #不需要访问令牌即可访问的接口
  48. authorizationFilter.requestUriList[0]=/user/register
  49. authorizationFilter.requestUriList[1]=/company/register
  50. authorizationFilter.requestUriList[2]=/user/login
  51. authorizationFilter.requestUriList[3]=/user/login/auto
  52. authorizationFilter.requestUriList[4]=/user/get
  53. authorizationFilter.requestUriList[5]=/verify/telephone
  54. authorizationFilter.requestUriList[6]=/user/password/update
  55. authorizationFilter.requestUriList[7]=/basic/randcode/sendSms
  56. authorizationFilter.requestUriList[8]=/b/circle/msg/square
  57. authorizationFilter.requestUriList[9]=/b/circle/msg/hot
  58. authorizationFilter.requestUriList[10]=/b/circle/msg/latest
  59. authorizationFilter.requestUriList[11]=/b/circle/msg/get
  60. authorizationFilter.requestUriList[12]=/config
  61. authorizationFilter.requestUriList[13]=/user/password/reset
  62. authorizationFilter.requestUriList[14]=/b/circle/msg/comment/list
  63. authorizationFilter.requestUriList[15]=/job/query
  64. authorizationFilter.requestUriList[16]=/job/latest
  65. authorizationFilter.requestUriList[17]=/config/set
  66. authorizationFilter.requestUriList[18]=/tigase/notify
  67. authorizationFilter.requestUriList[19]=/tigase/baiduPush
  68. authorizationFilter.requestUriList[20]=/tigase/testbaiduPush
  69. authorizationFilter.requestUriList[21]=/tigase/push
  70. authorizationFilter.requestUriList[22]=/friends/attention/list
  71. authorizationFilter.requestUriList[23]=/friends/fans/list
  72. authorizationFilter.requestUriList[24]=/user/findUser
  73. authorizationFilter.requestUriList[25]=/user/addPushSet
  74. authorizationFilter.requestUriList[26]=/user/delPushSet
  75. authorizationFilter.requestUriList[27]=/tigase/findPushSet
  76. authorizationFilter.requestUriList[28]=/user/newlogout
  77. authorizationFilter.requestUriList[29]=/user/password/resetpwd
  78. authorizationFilter.requestUriList[30]=/room/setRoomManger
  79. authorizationFilter.requestUriList[31]=/room/member/get
  80. authorizationFilter.requestUriList[32]=/room/setRelationGroupPhoto
  81. authorizationFilter.requestUriList[33]=/room/getRelationGroupPhoto
  82. authorizationFilter.requestUriList[34]=/user/channelId/set
  83. authorizationFilter.requestUriList[35]=/user/logout
  84. authorizationFilter.requestUriList[36]=/tigase/servicePush
  85. authorizationFilter.requestUriList[37]=/user/update
  86. authorizationFilter.requestUriList[38]=/b/circle/msg/list
  87. authorizationFilter.requestUriList[39]=/user/updateUser
  88. authorizationFilter.requestUriList[40]=/user/updateArea
  89. authorizationFilter.requestUriList[41]=/user/appAutoLog
  90. authorizationFilter.requestUriList[42]=/user/appSaveBooking
  91. authorizationFilter.requestUriList[43]=/user/appTimeSet
  92. authorizationFilter.requestUriList[44]=/user/appSharePlan
  93. authorizationFilter.requestUriList[45]=/user/appMobileContact
  94. authorizationFilter.requestUriList[46]=/user/appUpdateBooking
  95. authorizationFilter.requestUriList[47]=/user/appUpdateTimeSet
  96. authorizationFilter.requestUriList[48]=/user/appUpdateSharePlan
  97. authorizationFilter.requestUriList[49]=/user/appBookingList
  98. authorizationFilter.requestUriList[50]=/user/appCount
  99. authorizationFilter.requestUriList[51]=/user/appBusytime
  100. authorizationFilter.requestUriList[52]=/user/appQueryuser
  101. authorizationFilter.requestUriList[53]=/user/appUsertime
  102. authorizationFilter.requestUriList[54]=/user/appResetTime
  103. authorizationFilter.requestUriList[55]=/user/appCurrentList
  104. authorizationFilter.requestUriList[56]=/user/appRegister
  105. authorizationFilter.requestUriList[57]=/user/appSearch
  106. authorizationFilter.requestUriList[58]=/user/appSaveBusiness
  107. authorizationFilter.requestUriList[59]=/user/appUpdateBusiness
  108. authorizationFilter.requestUriList[60]=/user/appDoBusiness
  109. authorizationFilter.requestUriList[61]=/user/appBusinessDetail
  110. authorizationFilter.requestUriList[62]=/user/appBatchShare
  111. authorizationFilter.requestUriList[63]=/user/pushToAll
  112. authorizationFilter.requestUriList[64]=/user/appUUSet
  113. authorizationFilter.requestUriList[65]=/user/appUUsteps
  114. authorizationFilter.requestUriList[66]=/user/appStepsrank
  115. authorizationFilter.requestUriList[67]=/user/appSteps
  116. authorizationFilter.requestUriList[68]=/user/appStoreList
  117. authorizationFilter.requestUriList[69]=/user/appSaveService
  118. authorizationFilter.requestUriList[70]=/user/appServiceIndustry
  119. authorizationFilter.requestUriList[71]=/user/appSaveService
  120. authorizationFilter.requestUriList[72]=/user/appStoreList
  121. authorizationFilter.requestUriList[73]=/user/appServiceSet
  122. authorizationFilter.requestUriList[74]=/user/appServiceList
  123. authorizationFilter.requestUriList[75]=/user/appPlaceSet
  124. authorizationFilter.requestUriList[76]=/user/appPersonSet
  125. authorizationFilter.requestUriList[77]=/user/appStoreRest
  126. authorizationFilter.requestUriList[78]=/user/appPersonRest
  127. authorizationFilter.requestUriList[79]=/user/appStorurl
  128. authorizationFilter.requestUriList[80]=/user/appIndustryList
  129. authorizationFilter.requestUriList[82]=/user/appSaveCompany
  130. authorizationFilter.requestUriList[83]=/user/appServiceBusytime
  131. authorizationFilter.requestUriList[84]=/user/appStoreService
  132. authorizationFilter.requestUriList[85]=/user/appStoreman
  133. authorizationFilter.requestUriList[86]=/user/appStepPrise
  134. authorizationFilter.requestUriList[87]=/user/appPriseList
  135. authorizationFilter.requestUriList[88]=/user/appStoreUpdate
  136. authorizationFilter.requestUriList[89]=/user/appStoreType
  137. authorizationFilter.requestUriList[90]=/user/appBatchPlace
  138. authorizationFilter.requestUriList[91]=/user/appCancelService
  139. authorizationFilter.requestUriList[92]=/user/appBatchMrest
  140. authorizationFilter.requestUriList[93]=/user/appBatchCrest
  141. authorizationFilter.requestUriList[94]=/user/appCompanyType
  142. authorizationFilter.requestUriList[95]=/user/appCompanyAdmin
  143. authorizationFilter.requestUriList[96]=/user/appCompanyRest
  144. authorizationFilter.requestUriList[97]=/user/appManRest
  145. authorizationFilter.requestUriList[98]=/user/appPlaceList
  146. authorizationFilter.requestUriList[99]=/user/appStoreDel
  147. authorizationFilter.requestUriList[100]=/user/appTotalList
  148. authorizationFilter.requestUriList[101]=/user/appSearchStore
  149. authorizationFilter.requestUriList[102]=/user/appServiceUpdate
  150. authorizationFilter.requestUriList[103]=/user/appBatchDesk
  151. authorizationFilter.requestUriList[104]=/user/appDeskUpdate
  152. authorizationFilter.requestUriList[105]=/user/appDeskList
  153. authorizationFilter.requestUriList[106]=/user/appLineList
  154. authorizationFilter.requestUriList[107]=/user/appStoreRelease
  155. authorizationFilter.requestUriList[108]=/user/appDeskDetail
  156. authorizationFilter.requestUriList[109]=/user/appAd
  157. #remote services
  158. service.login=http://10.10.100.133:9990/api/user?_operate=fuzzyCheck
  159. service.resetPassword=http://10.10.100.133:9990/api/user?_operate=reset
  160. service.updatePassword=http://10.10.100.133:9990/api/user?_operate=modify
  161. service.saveUser=http://10.10.100.133:9990/api/user?appId=im