config.yaml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. labels:
  5. app: e-school-mobile
  6. name: e-school-mobile
  7. namespace: i2
  8. data:
  9. app.conf: |-
  10. app_name = e-school-backend
  11. http_port = 8080
  12. run_mode = release
  13. log_mode = debug
  14. data_source = "i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool_backend?charset=utf8&loc=Local"
  15. storage = http://file.qianqiusoft.com/v1/fs_file/
  16. sync_db = true
  17. auto_refresh = false
  18. #wfendpoint = "http://localhost:8090"
  19. #light_connector = "http://localhost:7076"
  20. # 默认域名设置
  21. plat_domain = "eschool.i2edu.com"
  22. i2_domain = "eschool.i2edu.com"
  23. # 认证模式: local本地模式,third第三方
  24. auth_mode = "local"
  25. enable_ldap_server = false
  26. ldap_port = 389
  27. # 盐
  28. password_salt = cr@bc.cn
  29. # 启用数据库加盐
  30. enable_db_salt = false
  31. # 密码启用Base64编码
  32. password_enable_base64 = true
  33. aliyun_accessKeyId = "LTAIqrwSEnuD3mem"
  34. aliyun_accessKeySecret = "PLjaW9COl4Lm3rm3nzdd2ua6S3eseZ"
  35. # 阿里云短信
  36. aliyun_messageKeyId = "LTAI4Fqwv6vQGQxXwYhGnR9Y"
  37. aliyun_messageKeySecret = "qY90zH6TeHl3G21Ewz2DJkUMXDLsvl"
  38. aliyun_messageVersion = "2017-05-25"
  39. aliyun_messageRegionId = "cn-guangzhou"
  40. aliyun_messageDomain = "dysmsapi.aliyuncs.com"
  41. aliyun_messageApiName = "SendSms"
  42. aliyun_messageSignName = "i2全外教少儿英语"
  43. aliyun_messageTemplateCode = "SMS_185575215"
  44. # 微信登陆
  45. wechat_appid = "wx756d2f0339adf67c"
  46. wechat_secret = "9cc4b7928467151acea7ab1bfa0a70a7"
  47. #微信小程序
  48. applet_appid = "wxc4493aeb8bfc7032"
  49. applet_secret = "d080f7bd28900e0bad2a0a991bf8a72a"
  50. # redis
  51. redis_addr = "r-uf63gt48bwoqbodeib.redis.rds.aliyuncs.com:6379"
  52. redis_pwd = "i2kv0123#798"
  53. # aliyun Oss
  54. aliyun_ossEndPoint="https://oss-cn-shanghai-internal.aliyuncs.com"
  55. aliyun_ossKeyId="LTAI4FmbSLGUo9VdybeEpLdW"
  56. aliyun_ossKeySecret="Hj9B6hD8wCJrXX9WFJiZs8lSQ4DCH9"
  57. aliyun_ossBucketName="i2-files"
  58. aliyun_ossSignExpire= 30
  59. aliyun_ossSignHost="https://i2-files.oss-cn-shanghai.aliyuncs.com"
  60. # 内网地址:i2-files.oss-cn-shanghai-internal.aliyuncs.com
  61. # 资源路径
  62. path_staticResource="static"
  63. eschool_cdnResource="http://vod-cdn.i2edu.net"
  64. eschool_cdnFile="http://files-cdn.i2edu.net"
  65. eschool_cdnImageResource="http://imgs-cdn.i2edu.net"
  66. dubit_ossDirPath="eschool/dubit"
  67. eschool_ossDirPath="eschool/app"
  68. erp_ossDirPath="eschool/erp"
  69. # 资源路径
  70. erp_cdnResource="http://cdn.dubit.i2erp.cn"
  71. # erp内网url
  72. erp_url=http://192.168.14.210:31130
  73. integral_data_source = "i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool?charset=utf8&loc=Local"
  74. #讯飞小程序
  75. xfyun_appid = "5df9ed38"
  76. xfyun_apikey = "50827e596ee5008ede43a8a243144889"
  77. #当前域名
  78. CURURL = "https://api-eschool-slb.i2edu.net/"
  79. #小程序默认头像
  80. defaultAvatar = "eschool/app/upload/user/head/2020/01/19/c6d50977-7f33-4aaf-860b-6d9a21949084.png"
  81. #作品合成方式 (0: 直接合成作品 1: 发布时提交合成作品)
  82. composition = "1"
  83. # APP测试手机号
  84. app_mobile_test = "18980810570"
  85. app_code_test = "6666"
  86. # uPush
  87. UPushApkAppKey = "5e4dff184ca35705c80001fe"
  88. UPushApkMasterSecret = "tyaae4wpi0iiobpn3ke1s2aj08s9ezh4"
  89. UPushIOSAppKey = "5e4e047f895cca131000002a"
  90. UPushIOSMasterSecret = "1cvvpkfhl5mmkbwvg37hea5h06pc1oaq"
  91. # 极光
  92. JpushAppkey = "256d926eba2b0c4563c63239"
  93. JpushSecret = "d3484500bec2c7891ec57ef4"
  94. # CDN key
  95. cdn_auth_key = "156d23eba0c42a"
  96. # logger_data_source
  97. logger_data_source="i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool_log?charset=utf8&loc=Local"
  98. logger_app_name="mobile"
  99. # alipay 支付宝参数
  100. app_id_sandbox = "2016073100133958"
  101. public_key_sandbox = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAokaYSxLOTftSj+lKeYo2MC3Co079Wac3ZO8CPSldlGY3NaGjd0pfgTlDZTfty1oJjoo5RaliUx5/CtO53vY5ace/q7PX2RqfzcG92AYHKYqEl71W9x5GhzzhHNiXL6xISULhbMAZXusVDZDWVDAyZ/L075bJz5qa02zLtoATr4TqyF4+uhee59zMYPlIlMLQbIx9aMmBW6TRSLTdwvEAR+1gbsONWjHXgE1AD4qU2wyokWfrrDwzAyz2MPK96HvhiR5efa1pi/U1SeeGB6gwCEh8FUK5+yjnaO+ppnHGD1IOFXQhZ+sdPLVGX4LLEK+dMH0rNF+kw5kSP5076GxbsQIDAQAB"
  102. private_key_sandbox = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCiRphLEs5N+1KP6Up5ijYwLcKjTv1Zpzdk7wI9KV2UZjc1oaN3Sl+BOUNlN+3LWgmOijlFqWJTHn8K07ne9jlpx7+rs9fZGp/Nwb3YBgcpioSXvVb3HkaHPOEc2JcvrEhJQuFswBle6xUNkNZUMDJn8vTvlsnPmpr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A70gKd6qKPo9Ns77t4hs0J7eUmLLzYnvIREpCwAKhnrylnRJLQpl6wiOQvWmrBgpDg1urmMg7SY6rTZuTR3xZKelQEbHgHS9tV06HJpMP3VzFDd4NE3HisXvEeDLuPSq98NecET0EjHGl11LmzpekVS88XRTfgG8MqcCgYEAjDyHpb4Ro3jilvLudv5tnugjY4sJWTa890Lfb/XyeH86+spE7Grt2V7pqGXoFd5W12f3KY5DMtchS9WeeAnCxCNXl4DEJMKFSEjV1vQqF/fRLCTNy2Mnw0nuwdT3/pGf8BQ5EgBkV9USpUZLHP0FJqMM1lasDcGKnowG/Y2HtSA="
  103. root_cert_sandbox = "alipay/alipayRootCert_sandbox.crt"
  104. app_cert_sandbox = "alipay/appCertPublicKey_2016073100133958_sandbox.crt"
  105. alipay_cert_sanbox = "alipay/alipayCertPublicKey_RSA2_sandbox.crt"
  106. app_id = "2021001160647240"
  107. private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCGiE8Y/8ycL+QDZECLdgafFuC9EXry039w1vq7Y1ub3lhHqwJu952ypTHeiMhVmS75LY8SdZOamHuOfZ9KVEK7C66cyx4kOzcxa1TNyw2iS7cM2jxQidBTsSKIzoztB0hY6fOy7vCf4dDVzwnVw7XkJgWGWG3OYGbf92ExAFMjCdMYtST5Ueh3KduVWlwucskdNe2DMFSBE48CCvwm436P/UPaEmUumD9vKF3Zu0xZ4JCmj3AQzAzGojDlJKDsqRIYhWPzfD9vNKFgzM2i7AuJWu1PbVtT6bfQAZUr1XK6d3rYUUTyKXkMLyG0zuZxgqfzqp8YKQLLU9WAuWJSx3pfAgMBAAECggEAFBtdTww0RYe22XbrWqyqMq7Vqgxpxs8rde77jHQ+Jd6mbRe3BmTF0gR0nqDs6DY72gwgHQ8rn2h41wQZgZ90VcZaM578A0hCaIV1KEjX4dDVK/uWFidy1n9b/Px5/ZcgDgHxZWXm2s6CSuJlwug8UDwKiVjAGJ854PF1OkClLFA7wKvUPyHe0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ert = "alipay/appCertPublicKey_2021001160647240.crt"
  110. alipay_cert = "alipay/alipayCertPublicKey_RSA2"
  111. app_code_test = "6666"
  112. # wechat 支付参数
  113. wechat_app_id = "wx756d2f0339adf67c"
  114. wechat_mch_id = "1594843671"
  115. wechat_api_key = "i2OnlineWechatPay20200525144800e"
  116. #i2-online应用宝的下载地址
  117. i2online_download = "eschool/app/release/Qrcode.png"
  118. # 使用新erp的接口
  119. //erp_api_new_config = true
  120. erp_api_new_config = false