|
@@ -407,6 +407,7 @@ namespace TEAMModelBI.Controllers
|
|
|
{
|
|
|
string appKey = _configuration["DingDingAuth:appKey"];
|
|
|
string appSecret = _configuration["DingDingAuth:appSecret"];
|
|
|
+ string divide = _configuration["CustomParam:SiteScope"];
|
|
|
if (string.IsNullOrWhiteSpace(appKey) || string.IsNullOrWhiteSpace(appSecret))
|
|
|
{
|
|
|
return Ok(new { state = 0, message = "请检查配置钉钉的信息" });
|
|
@@ -495,7 +496,6 @@ namespace TEAMModelBI.Controllers
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- string divide = appKey.Equals("dingrucgsnt8p13rfbgd") ? "continent" : "international";
|
|
|
DingDingUserInfo dingDingUserInfo = new DingDingUserInfo()
|
|
|
{
|
|
|
PartitionKey = divide,
|