颐和api

appsettings.Development_Test.json 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. "Expiration": "7"
  17. },
  18. "MongoConnection": {
  19. //"ConnectionString": "mongodb://root:123456@192.168.5.44:27017",
  20. //"Database": "madrunfabricdb"
  21. //"ConnectionString": "mongodb://root:123456@192.168.56.1:27017", //本机
  22. //"Database": "madrunfabricdb_base" //madrunfabricdb_base madrunfabricdb
  23. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  24. "Database": "yh"
  25. },
  26. "Redis": {
  27. "HostName": "192.168.5.44",
  28. "Port": "6379",
  29. "Password": "",
  30. "Defaultdatabase": "5",
  31. "InstanceName": "test"
  32. },
  33. "upload": {
  34. "url": "http://192.168.0.1:28000/fileserverapi/api/upload",
  35. "params": "uploadtype=excel",
  36. "mbname": "工号.xlsx",
  37. "mbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist",
  38. "dbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist"
  39. },
  40. "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
  41. "spring": {
  42. "application": {
  43. "name": "signtokenapi"
  44. }
  45. },
  46. "eureka": {
  47. "client": {
  48. "serviceUrl": "http://192.168.5.46:28100/eureka/"
  49. //"shouldFetchRegistry": false
  50. },
  51. "instance": {
  52. "preferIpAddress": true,
  53. //服务过期时间配置,
  54. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  55. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  56. "leaseExpirationDurationInSeconds": 15,
  57. //服务刷新时间配置,每隔这个时间会主动心跳一次
  58. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  59. "leaseRenewalIntervalInSeconds": 5,
  60. //"homePageUrl": "http://${spring.name}/api/info",
  61. "statusPageUrlPath": "/api/info",
  62. //"hostName": "192.168.5.17",
  63. "port": 28210
  64. // Remove comments to enable SSL requests
  65. // More changes in Program.cs are required if using direct C2C communications
  66. //,"securePortEnabled": true
  67. }
  68. }
  69. }