颐和api

appsettings.Development.json 3.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "Cors": "",
  3. "Logging": {
  4. "IncludeScopes": false,
  5. "LogLevel": {
  6. "Default": "Debug",
  7. "System": "Error",
  8. "Microsoft": "Error",
  9. "Steeltoe": "Error"
  10. }
  11. },
  12. "Jwt": {
  13. "Issuer": "HySignToken",
  14. "Audience": "HyCallCenterApi",
  15. "SecretKey": "HYBambooJIe256sdkDfjiTSkjienTGjnVcu85114udfhbudgdkfUh"
  16. },
  17. "MongoConnection": {
  18. //"ConnectionString": "mongodb://root:123456@192.168.5.44:27017",
  19. //"Database": "madrunfabricdb"
  20. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  21. "Database": "yh"
  22. },
  23. "Redis": {
  24. "HostName": "192.168.5.44",
  25. "Port": "6379",
  26. "Password": "",
  27. "Defaultdatabase": "5",
  28. "InstanceName": "wechat"
  29. },
  30. "spring": {
  31. "application": {
  32. "name": "wechatapi"
  33. }
  34. },
  35. "location": {
  36. "url": "https://apis.map.qq.com/ws/geocoder/v1/",
  37. "key": "26KBZ-YBJRO-3RPWW-SUEYL-K2KKQ-BTBYL",
  38. "poi": 0
  39. },
  40. //----------------------------微信配置------------------------------------------------------------
  41. "WechatStatic": {
  42. "AppId": "111111111111111111",
  43. "AppSecret": "111111111111111111111111",
  44. "Token": "E406A2BBDEC463A497E41B1AB0FD7290",
  45. "EncodingAESKey": "wlUch5ogf03ozrN4mWE0e5CMTDTAFFo4Ghop55n0b1q",
  46. "MenuJson": "[{\"Name\":\"快速下单\",\"Key\":\"KSXD\",\"Type\":\"view\",\"Url\":\"http://weixin.nuodajituan.com/index.html?menucode=WXSM\"},{\"Name\":\"订单查询\",\"Key\":\"DDCX\",\"Type\":\"view\",\"Url\":\"http://weixin.nuodajituan.com/index.html?menucode=WXCX\"}]",
  47. "QRCodeTimeOut": "1800",
  48. "MchId": "", //商户号
  49. "TenPayV3Notify": "", //商户回调地址
  50. "Key": "", //api秘钥
  51. "MessageUrl": "http://weixin.nuodajituan.com/index.html", //消息跳转url
  52. "TemplateId": "pnzxZuc4GuJzexVGlwLvNb01cFSHKSB-YXicdrzLzb4",
  53. //"FocusUrl": "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzU4NDQ4MjQzMg==&scene=124#wechat_redirect" //关注url
  54. "SubscribeJson": "[{\"Title\":\"快速报修,请点上图\",\"Description\":\"\",\"PicUrl\":\"http://122.114.109.238:28000/fileserverapi/api/Upload/1A3B42D2A8211C53F33019D310C9ABB1D8041E46AEDA6B8704105EC941E81CF1901956AFCBA2D212A1621C18B2759E0258990304B85278F87F9D6DD8EFB72B2F58E24FD7600DC221CB247B7E733750FEA97C19CB5CA7B33A19FA933E99D1720EE641BD7C5DE8237F57EAE2F43E48D09D1F35A1C73EEB86E4ADA14E1E23C42F84\",\"Url\":\"http://weixin.nuodajituan.com/index.html?menucode=WXSM\"}]"
  55. },
  56. //----------------------------APP推送定位信息配置------------------------------------------------------------
  57. "AppSendLocationTimespan": "30",
  58. "eureka": {
  59. "client": {
  60. "serviceUrl": "http://192.168.5.46:28100/eureka/"
  61. //"shouldFetchRegistry": false
  62. },
  63. "instance": {
  64. "preferIpAddress": true,
  65. //服务过期时间配置,
  66. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  67. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  68. "leaseExpirationDurationInSeconds": 15,
  69. //服务刷新时间配置,每隔这个时间会主动心跳一次
  70. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  71. "leaseRenewalIntervalInSeconds": 5,
  72. "statusPageUrlPath": "/api/info",
  73. "port": 28260
  74. // Remove comments to enable SSL requests
  75. // More changes in Program.cs are required if using direct C2C communications
  76. //,"securePortEnabled": true
  77. }
  78. }
  79. }