|
@@ -8,138 +8,68 @@
|
|
},
|
|
},
|
|
"AllowedHosts": "*",
|
|
"AllowedHosts": "*",
|
|
"Option": {
|
|
"Option": {
|
|
- "Location": "China-Dep",
|
|
|
|
|
|
+ "Location": "Global",
|
|
"LocationNum": "1",
|
|
"LocationNum": "1",
|
|
- "HostName": "test.teammodel.cn",
|
|
|
|
|
|
+ "HostName": "localhost:5001",
|
|
"AllowedHosts": [ "localhost", "*.teammodel.cn", "*.teammodel.net", "*.habookaclass.biz", "test" ],
|
|
"AllowedHosts": [ "localhost", "*.teammodel.cn", "*.teammodel.net", "*.habookaclass.biz", "test" ],
|
|
- "Issuer": "www.teammodel.cn",
|
|
|
|
|
|
+ "Issuer": "ies5.teammodel.net",
|
|
"JwtSecretKey": "fXO6ko/qyXeYrkecPeKdgXnuLXf9vMEtnBC9OB3s+aA=",
|
|
"JwtSecretKey": "fXO6ko/qyXeYrkecPeKdgXnuLXf9vMEtnBC9OB3s+aA=",
|
|
"Exp": 86400,
|
|
"Exp": 86400,
|
|
"IdTokenSalt": "8263692E2213497BB55E74792B7900B4",
|
|
"IdTokenSalt": "8263692E2213497BB55E74792B7900B4",
|
|
- "HttpTrigger": "https://teammodelosfunction-test.chinacloudsites.cn/api/",
|
|
|
|
- //"HttpTrigger": "http://localhost:7071/api/"
|
|
|
|
- "Version": "5.2309.27.1"
|
|
|
|
|
|
+ "HttpTrigger": "https://func.teammodel.net/api/",
|
|
|
|
+ "Audience": "8768b06f-c5c5-4b0c-abfb-d7ded354626d",
|
|
|
|
+ "Authority": "https://login.microsoftonline.com/73a2bcc5-fe99-4566-aa8a-07e7bb287df1/v2.0"
|
|
},
|
|
},
|
|
"Azure": {
|
|
"Azure": {
|
|
- // 测试站数据库
|
|
|
|
|
|
+ "Blob": {
|
|
|
|
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodel;AccountKey=KAa4hBoeKtw4/u1UNcBv5R4yacKCVFtirOjAbe7nvl2zpCxQfI+ImkBfxBoFCd3+N24DRLiXD4XQRqkedd6pIw==;EndpointSuffix=core.windows.net"
|
|
|
|
+ },
|
|
"Storage": {
|
|
"Storage": {
|
|
- "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=O2W2vadCqexDxWO+px+QK7y1sHwsYj8f/WwKLdOdG5RwHgW/Dupz9dDUb4c1gi6ojzQaRpFUeAAmOu4N9E+37A==;EndpointSuffix=core.chinacloudapi.cn"
|
|
|
|
|
|
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodel;AccountKey=KAa4hBoeKtw4/u1UNcBv5R4yacKCVFtirOjAbe7nvl2zpCxQfI+ImkBfxBoFCd3+N24DRLiXD4XQRqkedd6pIw==;EndpointSuffix=core.windows.net"
|
|
|
|
+ },
|
|
|
|
+ "Table": {
|
|
|
|
+ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodel;AccountKey=KAa4hBoeKtw4/u1UNcBv5R4yacKCVFtirOjAbe7nvl2zpCxQfI+ImkBfxBoFCd3+N24DRLiXD4XQRqkedd6pIw==;EndpointSuffix=core.windows.net"
|
|
},
|
|
},
|
|
"Cosmos": {
|
|
"Cosmos": {
|
|
- "ConnectionString": "AccountEndpoint=https://cdhabookdep-free.documents.azure.cn:443/;AccountKey=JTUVk92Gjsx17L0xqxn0X4wX2thDPMKiw4daeTyV1HzPb6JmBeHdtFY1MF1jdctW1ofgzqkDMFOtcqS46by31A==;"
|
|
|
|
|
|
+ "ConnectionString": "AccountEndpoint=https://teammodel.documents.azure.com:443/;AccountKey=eMwcOmXbqLQZ8QjGxHYgo5OP8mhWxxeMT7dQdQ7jK1TTtAVwbalmnCGn7k7LZHX5nwLeCPD70RKKl8RZ0p73Jw==;"
|
|
|
|
+ },
|
|
|
|
+ "CosmosDep": {
|
|
|
|
+ "ConnectionString": "AccountEndpoint=https://teammodel-test.documents.azure.com:443/;AccountKey=2kWrDMnSA4GdUwrAKiPTKmJxzM3U1qcQxks9BZcu9UrGRosV2yOB6q2MdGLFQzjlqJNUCBdr2z0bQUrrq8FTkA==;"
|
|
},
|
|
},
|
|
"Redis": {
|
|
"Redis": {
|
|
- "ConnectionString": "52.130.252.100:6379,password=habook,ssl=false,abortConnect=False,writeBuffer=10240"
|
|
|
|
|
|
+ "ConnectionString": "CoreRedisService.redis.cache.windows.net:6380,password=fPqgv7ZZ3xauupIpVPGjosV9TXZynwvpSgEWpd6LwWU=,ssl=True,abortConnect=False"
|
|
},
|
|
},
|
|
"ServiceBus": {
|
|
"ServiceBus": {
|
|
- "ConnectionString": "Endpoint=sb://teammodelos.servicebus.chinacloudapi.cn/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Sy4h4EQ8zP+7w/lOLi1X3tGord/7ShFHimHs1vC50Dc=",
|
|
|
|
- "ActiveTask": "dep-active-task",
|
|
|
|
- "ItemCondQueue": "dep-itemcond",
|
|
|
|
- "GenPdfQueue": "dep-genpdf"
|
|
|
|
|
|
+ "ConnectionString": "Endpoint=sb://coreiotservicebus.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=bJrX0jcuIvFkdcssUMUCrZcTXcuFUK3JTMToKpsU6+M=",
|
|
|
|
+ "ActiveTask": "active-task",
|
|
|
|
+ "NoticeTask": "notice-task",
|
|
|
|
+ "ItemCondQueue": "itemcond"
|
|
},
|
|
},
|
|
"SignalR": {
|
|
"SignalR": {
|
|
"ConnectionString": "Endpoint=https://channel.service.signalr.net;AccessKey=KrblW06tuA4a/GyqRPDU0ynFFmAWxbAvyJihHclSXbQ=;Version=1.0;"
|
|
"ConnectionString": "Endpoint=https://channel.service.signalr.net;AccessKey=KrblW06tuA4a/GyqRPDU0ynFFmAWxbAvyJihHclSXbQ=;Version=1.0;"
|
|
}
|
|
}
|
|
- // 正式站数据库
|
|
|
|
- //"Storage": {
|
|
|
|
- // "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodelos;AccountKey=Dl04mfZ9hE9cdPVO1UtqTUQYN/kz/dD/p1nGvSq4tUu/4WhiKcNRVdY9tbe8620nPXo/RaXxs+1F9sVrWRo0bg==;EndpointSuffix=core.chinacloudapi.cn"
|
|
|
|
- //},
|
|
|
|
- //"Cosmos": {
|
|
|
|
- // "ConnectionString": "AccountEndpoint=https://teammodelos.documents.azure.cn:443/;AccountKey=clF73GwPECfP1lKZTCvs8gLMMyCZig1HODFbhDUsarsAURO7TcOjVz6ZFfPqr1HzYrfjCXpMuVD5TlEG5bFGGg==;"
|
|
|
|
- //},
|
|
|
|
- //"Redis": {
|
|
|
|
- // "ConnectionString": "CoreRedisCN.redis.cache.chinacloudapi.cn:6380,password=LyJWP1ORJdv+poXWofAF97lhCEQPg1wXWqvtzXGXQuE=,ssl=True,abortConnect=False"
|
|
|
|
- //},
|
|
|
|
- //"ServiceBus": {
|
|
|
|
- // "ConnectionString": "Endpoint=sb://coreiotservicebuscnpro.servicebus.chinacloudapi.cn/;SharedAccessKeyName=TEAMModelOS;SharedAccessKey=llRPBMDJG9w1Nnifj+pGhV0g4H2REcq0PjvX2qqpcOg=",
|
|
|
|
- // "ActiveTask": "active-task",
|
|
|
|
- // "ItemCondQueue": "itemcond",
|
|
|
|
- // "GenPdfQueue": "genpdf"
|
|
|
|
- //},
|
|
|
|
- //"SignalR": {
|
|
|
|
- // "ConnectionString": "Endpoint=https://channel.signalr.azure.cn;AccessKey=AtcB7JYFNUbUXb1rGxa3PVksQ2X5YSv3JOHZR9J88tw=;Version=1.0;"
|
|
|
|
- //},
|
|
|
|
- //"Speech": {
|
|
|
|
- // "SubscriptionKey": "a4f5f4e2e2e54c6e8b0a4a0b4a0a4a0b",
|
|
|
|
- // "Region": "chinanorth3",
|
|
|
|
- // "Endpoint": "https://chinanorth3.api.cognitive.azure.cn/sts/v1.0/issuetoken"
|
|
|
|
- //}
|
|
|
|
},
|
|
},
|
|
"HaBookAuth": {
|
|
"HaBookAuth": {
|
|
|
|
+ "CoreAPI": "https://api2.teammodel.net",
|
|
|
|
+ "CoreBBAPI": "https://bb.teammodel.net", //2022-5-13追�? �????
|
|
"CoreId": {
|
|
"CoreId": {
|
|
- "userinfo": "https://api2.teammodel.cn/Oauth2/GetUserInfos"
|
|
|
|
|
|
+ "userinfo": "https://api2.teammodel.net/Oauth2/GetUserInfos"
|
|
},
|
|
},
|
|
- "Account": "https://account.teammodel.cn",
|
|
|
|
- "CoreAPI": "https://api2.teammodel.cn",
|
|
|
|
- "CoreBBAPI": "https://bb.teammodel.cn",
|
|
|
|
"CoreService": {
|
|
"CoreService": {
|
|
- "clientID": "c7317f88-7cea-4e48-ac57-a16071f7b884",
|
|
|
|
- "clientSecret": "kguxh:V.PLmxBdaI@jnrTrDSth]A3346",
|
|
|
|
- "deviceinfo": "https://api2.teammodel.cn/oauth2/getdeviceinfos",
|
|
|
|
- "sendnotification": "https://api2.teammodel.cn/service/sendnotification",
|
|
|
|
- "getnotification": "https://api2.teammodel.cn/service/getnotification",
|
|
|
|
- "delnotification": "https://api2.teammodel.cn/service/delnotification"
|
|
|
|
- },
|
|
|
|
- "AClassONE": {
|
|
|
|
- //"clientID": "ee6a461a-3b40-4f70-8842-cf275d1e15ee",
|
|
|
|
- //"clientSecret": "px-njcS.jL1P7g0-kW:EAkO2Ve7[9k1x"
|
|
|
|
- "clientID": "8124850f-03d8-4949-9355-ed0d0709189e",
|
|
|
|
- "clientSecret": "l2aR-bk2LfCGt7OjSwRi:qZqfXXhL4:="
|
|
|
|
- },
|
|
|
|
- "WXMiniAPP": {
|
|
|
|
- "appid": "wx5705da8747c77cfe",
|
|
|
|
- "secret": "d5adf260a866ca43e74fbb40cec00799"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "DingDingAuth": {
|
|
|
|
- "Agentld": "1290158212",
|
|
|
|
- "appKey": "dingrucgsnt8p13rfbgd",
|
|
|
|
- "appSecret": "Gyx_N57yZslhQOAhAPlvmCwOp_qTm1DScKbd5OoOE0URAW4eViYA2Sk_ZxKb-8WG",
|
|
|
|
- "getuserinfo_bycode": "https://oapi.dingtalk.com/sns/getuserinfo_bycode?accessKey=xxx×tamp=xxx&signature=xxx"
|
|
|
|
- },
|
|
|
|
- "MailOption": {
|
|
|
|
- //"fromMail": "chhabook_customer@163.com",
|
|
|
|
- //"smtp": "smtp.163.com",
|
|
|
|
- //"port": 25,
|
|
|
|
- //"username": "chhabook_customer@163.com",
|
|
|
|
- //"password": "ZXMIRDYLVLJFWGJD"
|
|
|
|
- "fromMail": "customer_service@cdhabook.com",
|
|
|
|
- "smtp": "smtp.263.net",
|
|
|
|
- "port": 25,
|
|
|
|
- "username": "customer_service@cdhabook.com",
|
|
|
|
- "password": "CDhabook2023~!@"
|
|
|
|
- },
|
|
|
|
- "Third": {
|
|
|
|
- //"scsyxpt": {
|
|
|
|
- // "passKey": "VgEQfEjwzfvFn8my", //机构安全码
|
|
|
|
- // "trainComID": "2065", //机构ID 2065 65324
|
|
|
|
- // "privateKey": "4DB15444DEEDBB28B718ACB09217B5FC", //机构 AES 密钥
|
|
|
|
- // "url": "http://testscts.scedu.com.cn/webservice/EduService.asmx/RequestService"
|
|
|
|
- //}
|
|
|
|
-
|
|
|
|
- ///醍摩豆-蒲江县
|
|
|
|
- "scsyxpt": {
|
|
|
|
- "passKey": "fst4clhyXqrhXblY", //机构安全码
|
|
|
|
- "trainComID": "3069", //机构ID
|
|
|
|
- "privateKey": "52C1C240E4BE086DD15DB10814E243E6", //机构 AES 密钥
|
|
|
|
- "url": "https://scts.scedu.com.cn/webservice/EduService.asmx/RequestService"
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- ///英鼎教育-金牛区
|
|
|
|
- //"scsyxpt": {
|
|
|
|
- // "passKey": "MSmZQnjvySxwB8KZ", //机构安全码
|
|
|
|
- // "trainComID": "3072", //机构ID
|
|
|
|
- // "privateKey": "CA00580BB7BFA3817334CFA38257AC9A", //机构 AES 密钥
|
|
|
|
- // "url": "https://scts.scedu.com.cn/webservice/EduService.asmx/RequestService"
|
|
|
|
- //}
|
|
|
|
-
|
|
|
|
- ///学科网测试站
|
|
|
|
- "xkw": {
|
|
|
|
- "OAuth_Xkw_AppKey": "key808", //学科网分配的appkey
|
|
|
|
- "OAuth_Xkw_AppSecret": "ed4545f513444725bd811e909d3ac79f", //学科网分配的appSecret
|
|
|
|
- "OAuth_Xkw_RedirectUrl": "http://kong.sso.com/Demo/Authorized",
|
|
|
|
- "OAuth_Xkw_OAuthHost": "https://t.zxxk.com/oauth2/", // 学科网的服务,如http://www.zxxk.com/、http://zujuan.xkw.com/等,注意域名后面的斜杠不能少,更多服务可联系客服获取
|
|
|
|
- "OAuth_Xkw_ServiceUrl": "https://t.zxxk.com/user/info" //学科网Oauth认证平台地址
|
|
|
|
|
|
+ "clientID": "531fecd1-b1a5-469a-93ca-7984e1d392f2",
|
|
|
|
+ "clientSecret": "iI2cmTIX?fnXrwnffo84/:_X954=sw:.",
|
|
|
|
+ "deviceinfo": "https://api2-rc.teammodel.net/oauth2/getdeviceinfos", //[������]api2.teammodel.net [RC��]api2-rc.teammodel.net
|
|
|
|
+ "sendnotification": "https://api2.teammodel.net/service/sendnotification",
|
|
|
|
+ "getnotification": "https://api2.teammodel.net/service/getnotification",
|
|
|
|
+ "delnotification": "https://api2.teammodel.net/service/delnotification"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ //"HaBookAuth": {
|
|
|
|
+ // "CoreId": {
|
|
|
|
+ // "userinfo": "https://api2.teammodel.net/Oauth2/GetUserInfos"
|
|
|
|
+ // },
|
|
|
|
+ // "CoreService": {
|
|
|
|
+ // "deviceinfo": "https://api2.teammodel.net/oauth2/getdeviceinfos"
|
|
|
|
+ // }
|
|
|
|
+ //}
|
|
}
|
|
}
|