appsettings.Development.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Debug",
  5. "System": "Information",
  6. "Microsoft": "Information"
  7. }
  8. },
  9. "AllowedHosts": "*",
  10. "Option": {
  11. "Location": "China-Dep", //China-Test,China,Global-Dep,Global-Test,Global
  12. "LocationNum": "1",
  13. "HostName": "localhost:5001",
  14. "AllowedHosts": [ "localhost", "*.teammodel.cn", "*.teammodel.net", "*.habookaclass.biz", "test" ],
  15. "Issuer": "www.teammodel.cn",
  16. "JwtSecretKey": "fXO6ko/qyXeYrkecPeKdgXnuLXf9vMEtnBC9OB3s+aA=",
  17. "Exp": 86400,
  18. "IdTokenSalt": "8263692E2213497BB55E74792B7900B4",
  19. "HttpTrigger": "https://teammodelosfunction-test.chinacloudsites.cn/api/",
  20. "Audience": "72643704-b2e7-4b26-b881-bd5865e7a7a5",
  21. "Authority": "https://login.chinacloudapi.cn/4807e9cf-87b8-4174-aa5b-e76497d7392b/v2.0"
  22. //"HttpTrigger": "http://localhost:7071/api/"
  23. },
  24. //大陆站连接字符串 现在是测试站
  25. "Azure": {
  26. "Storage": {
  27. "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=O2W2vadCqexDxWO+px+QK7y1sHwsYj8f/WwKLdOdG5RwHgW/Dupz9dDUb4c1gi6ojzQaRpFUeAAmOu4N9E+37A==;EndpointSuffix=core.chinacloudapi.cn"
  28. },
  29. "LogStorage": {
  30. "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn"
  31. },
  32. "Cosmos": {
  33. "ConnectionString": "AccountEndpoint=https://cdhabookdep-free.documents.azure.cn:443/;AccountKey=JTUVk92Gjsx17L0xqxn0X4wX2thDPMKiw4daeTyV1HzPb6JmBeHdtFY1MF1jdctW1ofgzqkDMFOtcqS46by31A==;"
  34. },
  35. "Redis": {
  36. "ConnectionString": "52.130.252.100:6379,password=habook,ssl=false,abortConnect=False,writeBuffer=10240"
  37. },
  38. "ServiceBus": {
  39. "ConnectionString": "Endpoint=sb://teammodelos.servicebus.chinacloudapi.cn/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Sy4h4EQ8zP+7w/lOLi1X3tGord/7ShFHimHs1vC50Dc=",
  40. "ActiveTask": "dep-active-task",
  41. "ItemCondQueue": "dep-itemcond"
  42. }
  43. ////正式站
  44. //"Storage": {
  45. // "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=O2W2vadCqexDxWO+px+QK7y1sHwsYj8f/WwKLdOdG5RwHgW/Dupz9dDUb4c1gi6ojzQaRpFUeAAmOu4N9E+37A==;EndpointSuffix=core.chinacloudapi.cn"
  46. //},
  47. //"LogStorage": {
  48. // "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn"
  49. //},
  50. //"Cosmos": {
  51. // "ConnectionString": "AccountEndpoint=https://teammodelos.documents.azure.cn:443/;AccountKey=clF73GwPECfP1lKZTCvs8gLMMyCZig1HODFbhDUsarsAURO7TcOjVz6ZFfPqr1HzYrfjCXpMuVD5TlEG5bFGGg==;"
  52. //},
  53. //"Redis": {
  54. // "ConnectionString": "52.130.252.100:6379,password=habook,ssl=false,abortConnect=False,writeBuffer=10240"
  55. //},
  56. //"ServiceBus": {
  57. // "ConnectionString": "Endpoint=sb://teammodelos.servicebus.chinacloudapi.cn/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Sy4h4EQ8zP+7w/lOLi1X3tGord/7ShFHimHs1vC50Dc=",
  58. // "ActiveTask": "dep-active-task",
  59. // "ItemCondQueue": "dep-itemcond"
  60. //}
  61. },
  62. //国际站连接字符串 暂时是本地
  63. "GlobalAzure": {
  64. "Storage": {
  65. "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodelstorage;AccountKey=Yq7D4dE6cFuer2d2UZIccTA/i0c3sJ/6ITc8tNOyW+K5f+/lWw9GCos3Mxhj47PyWQgDL8YbVD63B9XcGtrMxQ==;EndpointSuffix=core.chinacloudapi.cn" // 之前未删除连接字符
  66. },
  67. "LogStorage": {
  68. "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn"
  69. },
  70. "Cosmos": {
  71. "ConnectionString": "AccountEndpoint=https://cdhabookdep-free.documents.azure.cn:443/;AccountKey=JTUVk92Gjsx17L0xqxn0X4wX2thDPMKiw4daeTyV1HzPb6JmBeHdtFY1MF1jdctW1ofgzqkDMFOtcqS46by31A==;" //测试站
  72. },
  73. "Redis": {
  74. "ConnectionString": "52.130.252.100:6379,password=habook,ssl=false,abortConnect=False,writeBuffer=10240"
  75. },
  76. "ServiceBus": {
  77. "ConnectionString": "Endpoint=sb://teammodelos.servicebus.chinacloudapi.cn/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Sy4h4EQ8zP+7w/lOLi1X3tGord/7ShFHimHs1vC50Dc=",
  78. "ActiveTask": "dep-active-task",
  79. "ItemCondQueue": "dep-itemcond"
  80. }
  81. },
  82. "HaBookAuth": {
  83. "CoreId": {
  84. "userinfo": "https://api2.teammodel.cn/Oauth2/GetUserInfos"
  85. },
  86. "Account": "https://account.teammodel.cn",
  87. "CoreAPI": "https://api2.teammodel.cn",
  88. "CoreBBAPI": "https://bb.teammodel.cn",
  89. "CoreService": {
  90. "clientID": "c7317f88-7cea-4e48-ac57-a16071f7b884", //大陆站IES5 ClientId
  91. "clientSecret": "kguxh:V.PLmxBdaI@jnrTrDSth]A3346", //大陆站IES5 秘钥
  92. //"clientID": "73266ca3-62b1-4304-b837-c672a8c88001", //大陆站的ClientId
  93. //"clientSecret": "E4Sr6[ezaT.b=3DYWoIATmqRDn4HlJb?", //大陆站的密钥
  94. //"clientID": "c01d78c2-a72e-416e-94d9-c8d3e4b8eb11", //国际站的ClientId
  95. //"clientSecret": "68-Bz:/5Xv:u6PVAFE@s3.=P2PCq5@ux", //国际站的密钥
  96. "deviceinfo": "https://api2.teammodel.cn/oauth2/getdeviceinfos",
  97. "sendnotification": "https://api2.teammodel.net/service/sendnotification",
  98. "getnotification": "https://api2.teammodel.net/service/getnotification",
  99. "delnotification": "https://api2.teammodel.net/service/delnotification"
  100. }
  101. },
  102. "DingDingAuth": {
  103. "Agentld": "1290158212",
  104. "appKey": "dingrucgsnt8p13rfbgd",
  105. "appSecret": "Gyx_N57yZslhQOAhAPlvmCwOp_qTm1DScKbd5OoOE0URAW4eViYA2Sk_ZxKb-8WG",
  106. "getuserinfo_bycode": "https://oapi.dingtalk.com/sns/getuserinfo_bycode?accessKey=xxx&timestamp=xxx&signature=xxx"
  107. },
  108. "CustomParam": {
  109. "SiteScope": "continent", // 站点范围 continent 大路站 international 国际站
  110. "proDeptId": 67690917
  111. },
  112. "CoreServiceV1": {
  113. "Cosmos": {
  114. "ConnectionString": "AccountEndpoint=https://corecosmosdbcn.documents.azure.cn:443/;AccountKey=WIFUWgnC6HiPb4yYba5iLR4ZghcA2fqrEvnX00YTA5B4sd7o89sxtbvgFDDUqT2VRkeWrWVTWZ8VbApQtwkJKQ==;" //CSV1大陸正式站(唯讀)
  115. }
  116. },
  117. "CoreServiceV2": {
  118. "Cosmos": {
  119. "ConnectionString": "AccountEndpoint=https://teammodelostest.documents.azure.cn:443/;AccountKey=ReGoiHuTbU4Q31YYq4NaiormE6Ci71piT7OrvTzAuhrlgt63ajdtDZmwOZKzcz6gnwR326mJp53InY7rohepQQ==;" //CSV2大陸測試站(讀寫)
  120. },
  121. "Storage": {
  122. "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=O2W2vadCqexDxWO+px+QK7y1sHwsYj8f/WwKLdOdG5RwHgW/Dupz9dDUb4c1gi6ojzQaRpFUeAAmOu4N9E+37A==;EndpointSuffix=core.chinacloudapi.cn" //CSV2大陸測試站
  123. },
  124. "CosmosCnRead": {
  125. "ConnectionString": "AccountEndpoint=https://corecosmosdb.documents.azure.cn:443/;AccountKey=12C5n8IvXFqsPARUb2YBOUWiU9PksohESlLHgH6cAVajxWBBJIJ6chJusgfrYhxCKgQgSHHxVgHsFPRakhvlPw==;" //CSV2大陸正式站(唯讀)
  126. }
  127. }
  128. }