| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- {
- "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.1.94:27017", //本机
- "Database": "madrunfabricdb_base"
- },
- "Redis": {
- "HostName": "192.168.5.44",
- "Port": "6379",
- "Password": "",
- "Defaultdatabase": "5",
- "InstanceName": "test"
- },
- "upload": {
- "url": "http://yunwei.nuodajituan.com:28000/fileserverapi/api/upload",
- "params": "uploadtype=excel",
- "mbname": "工号.xlsx",
- "mbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist",
- "dbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist"
- },
- "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
- "spring": {
- "application": {
- "name": "distributionapi"
- }
- },
- "eureka": {
- "client": {
- //"serviceUrl": "http://localhost:4866/eureka/"
- "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": 28330
- // Remove comments to enable SSL requests
- // More changes in Program.cs are required if using direct C2C communications
- //,"securePortEnabled": true
- }
- }
- }
|