application.yml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. server:
  2. port: 8888
  3. mybatis:
  4. config-location: classpath:mybatis/mybatis-config.xml
  5. mapper-locations: mybatis/mapper/admin/*.xml,mybatis/mapper/maternitymatron/*.xml,mybatis/mapper/coupon/*.xml,mybatis/mapper/global/*.xml,mybatis/mapper/customer/*.xml,mybatis/mapper/modoo/*.xml,mybatis/mapper/order/*.xml,mybatis/mapper/equipment/*.xml,mybatis/mapper/pay/*.xml,mybatis/mapper/wxmini/*.xml
  6. mybatis.type-aliases-package: com.ygj.yuemum.domain/admin,com.ygj.yuemum.domain/maternitymatron,com.ygj.yuemum.domain/coupon,com.ygj.yuemum.domain/global,com.ygj.yuemum.domain/customer,com.ygj.yuemum.domain/modoo,com.ygj.yuemum.domain/order,com.ygj.yuemum.domain/equipment,com.ygj.yuemum.domain/pay,com.ygj.yuemum.domain/wxmini
  7. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  8. spring:
  9. datasource:
  10. driverClassName: com.mysql.jdbc.Driver
  11. url: jdbc:mysql://121.43.235.99:3306/yuemum?useUnicode=true&characterEncoding=utf-8&noDatetimeStringSync=true
  12. username: jielin
  13. password: jielin123
  14. thymeleaf:
  15. mode: LEGACYHTML5
  16. prefix: classpath:/templates
  17. pagehelper:
  18. helper-dialect: mysql
  19. reasonable: true
  20. support-methods-arguments: true
  21. params: count=countSql
  22. logging:
  23. level:
  24. com.ygj.yuemum.dao : debug
  25. #优惠券批次号信息--------------------
  26. #测试
  27. coupon:
  28. NewUserCoupon : "PVP2018051297451"
  29. ConsultTaskCoupon : "PVP2018051273883"
  30. DetectionTaskCoupon : "PVP2018051211608"
  31. RechargeTaskCoupon : "PVP2018051263016"
  32. #生产
  33. #coupon:
  34. # NewUserCoupon : "PVP2018051717019"
  35. # ConsultTaskCoupon : "PVP2018051739929"
  36. # DetectionTaskCoupon : "PVP2018051713733"
  37. # RechargeTaskCoupon : "PVP2018051714111"
  38. #图片上传路径--------------------------
  39. #本地
  40. file:
  41. ROOT : "D:/apache-tomcat-9.0.6/webapps/resume/img/"
  42. ResumeFile : "D:/apache-tomcat-9.0.6/webapps/resume/"
  43. httpRoot : "http://localhost:8080/resume/img/"
  44. httphtmlRoot : "http://localhost:8080/resume/"
  45. modulePath : "D:/apache-tomcat-9.0.6/webapps/resume/resume.html"
  46. payvoucher : "D:/apache-tomcat-9.0.6/webapps/payvoucher"
  47. httppayvoucher : "http://localhost:8080/payvoucher"
  48. #测试
  49. #file:
  50. # ROOT : "/usr/local/apache-tomcat-8.5.30/webapps/resume/img/"
  51. # ResumeFile : "/usr/local/apache-tomcat-8.5.30/webapps/resume/"
  52. # httpRoot : "http://192.168.1.24/resume/img/"
  53. # httphtmlRoot : "http://192.168.1.24/resume/"
  54. # modulePath : "/usr/local/apache-tomcat-8.5.30/webapps/resume/resume.html"
  55. # payvoucher : "/usr/local/apache-tomcat-8.5.30/webapps/payvoucher"
  56. # httppayvoucher : "http://192.168.1.24/payvoucher"
  57. #生产
  58. #file:
  59. # ROOT : "/usr/local/tomcat/tomcat7/webapps/resume/img/"
  60. # ResumeFile : "/usr/local/tomcat/tomcat7/webapps/resume/"
  61. # httpRoot : "http://yuesuo.yueguanjia.com/resume/img/"
  62. # httphtmlRoot : "http://yuesuo.yueguanjia.com/resume/"
  63. # modulePath : "/usr/local/tomcat/tomcat7/webapps/resume/resume.html"
  64. # payvoucher : "/usr/local/tomcat/tomcat7/webapps/payvoucher"
  65. # httppayvoucher : "http://yuesuo.yueguanjia.com/payvoucher"
  66. #微信公众号---------------------------------------------------
  67. wechat:
  68. APPID : "wx52852a3c47540fad"
  69. APPSECRET : "31e4eef58038830327eb88661e3a681f" #获取access_token
  70. GRANT_TYPE : "client_credential"
  71. JSAPI_TICKET_TYPE : "jsapi"
  72. ACCESS_TOKEN_URL : "https://api.weixin.qq.com/cgi-bin/token"
  73. JSAPI_TICKET_URL : "https://api.weixin.qq.com/cgi-bin/ticket/getticket"
  74. JSCODE2SESSION : "https://api.weixin.qq.com/sns/jscode2session"
  75. SENDMESSAGEURL : "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=" #公众号消息发送地址
  76. OrderTemplateid : "VyMPKDDGOy85wDIJuXR7sBuiIBEg0OPaCg6C_Dt_D0g" #公众号消息模版
  77. BookingTemplateid : "Wvysqh3Ec9lXpf5tytq0T2zzs662uowNLFCPiAPBFkA" #公众号消息模版
  78. #测试小程序
  79. #MINIAPPID : "wx1c3ef3300b74ed86"
  80. #MINIAPPSECRET : "ba5624bc087921d5a5832da9193e40f1"
  81. #生产小程序
  82. MINIAPPID : "wx20a080f3bf83ba47"
  83. MINIAPPSECRET : "61021776790449943ba5f40288efa0d6"