| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- {
- "Cors": "",
- "Logging": {
- "IncludeScopes": false,
- "LogLevel": {
- "Default": "Debug",
- "System": "Error",
- "Microsoft": "Error",
- "Steeltoe": "Error"
- }
- },
- "Jwt": {
- "Issuer": "HySignToken",
- "Audience": "HyCallCenterApi",
- "SecretKey": "HYBambooJIe256sdkDfjiTSkjienTGjnVcu85114udfhbudgdkfUh"
- },
- "MongoConnection": {
- //"ConnectionString": "mongodb://root:123456@192.168.5.44:27017",
- //"Database": "madrunfabricdb"
- "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
- "Database": "yh"
- },
- "Redis": {
- "HostName": "192.168.5.44",
- "Port": "6379",
- "Password": "",
- "Defaultdatabase": "5",
- "InstanceName": "wechat"
- },
- "spring": {
- "application": {
- "name": "wechatapi"
- }
- },
- "location": {
- "url": "https://apis.map.qq.com/ws/geocoder/v1/",
- "key": "26KBZ-YBJRO-3RPWW-SUEYL-K2KKQ-BTBYL",
- "poi": 0
- },
- //----------------------------微信配置------------------------------------------------------------
- "WechatStatic": {
- "AppId": "111111111111111111",
- "AppSecret": "111111111111111111111111",
- "Token": "E406A2BBDEC463A497E41B1AB0FD7290",
- "EncodingAESKey": "wlUch5ogf03ozrN4mWE0e5CMTDTAFFo4Ghop55n0b1q",
- "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\"}]",
- "QRCodeTimeOut": "1800",
- "MchId": "", //商户号
- "TenPayV3Notify": "", //商户回调地址
- "Key": "", //api秘钥
- "MessageUrl": "http://weixin.nuodajituan.com/index.html", //消息跳转url
- "TemplateId": "pnzxZuc4GuJzexVGlwLvNb01cFSHKSB-YXicdrzLzb4",
- //"FocusUrl": "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzU4NDQ4MjQzMg==&scene=124#wechat_redirect" //关注url
- "SubscribeJson": "[{\"Title\":\"快速报修,请点上图\",\"Description\":\"\",\"PicUrl\":\"http://122.114.109.238:28000/fileserverapi/api/Upload/1A3B42D2A8211C53F33019D310C9ABB1D8041E46AEDA6B8704105EC941E81CF1901956AFCBA2D212A1621C18B2759E0258990304B85278F87F9D6DD8EFB72B2F58E24FD7600DC221CB247B7E733750FEA97C19CB5CA7B33A19FA933E99D1720EE641BD7C5DE8237F57EAE2F43E48D09D1F35A1C73EEB86E4ADA14E1E23C42F84\",\"Url\":\"http://weixin.nuodajituan.com/index.html?menucode=WXSM\"}]"
- },
- //----------------------------APP推送定位信息配置------------------------------------------------------------
- "AppSendLocationTimespan": "30",
- "eureka": {
- "client": {
- "serviceUrl": "http://192.168.5.46:28100/eureka/"
- //"shouldFetchRegistry": false
- },
- "instance": {
- "preferIpAddress": true,
- //服务过期时间配置,
- //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
- //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
- "leaseExpirationDurationInSeconds": 15,
- //服务刷新时间配置,每隔这个时间会主动心跳一次
- //默认30s 客户端需要发送心跳的频率,默认值= 30s
- "leaseRenewalIntervalInSeconds": 5,
- "statusPageUrlPath": "/api/info",
- "port": 28260
- // Remove comments to enable SSL requests
- // More changes in Program.cs are required if using direct C2C communications
- //,"securePortEnabled": true
- }
- }
- }
|