瀏覽代碼

更新钉钉通知群

Li 3 年之前
父節點
當前提交
818ca78e70

+ 6 - 6
TEAMModeBI/Controllers/BIAbility/AbilityMgmtController.cs

@@ -63,7 +63,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/get-abilitysbystandard  \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/get-abilitysbystandard  \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -87,7 +87,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/get-abulityid \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/get-abulityid \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -144,7 +144,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/del-ability \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/del-ability \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -230,7 +230,7 @@ namespace TEAMModeBI.Controllers.BIAbility
                     }
                     catch (Exception ex)
                     {
-                        await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/upd-ability \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                        await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitymgmt/upd-ability \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                         return BadRequest();
                     }
                 }
@@ -244,7 +244,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   biabilitymgmt/upd-ability \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   biabilitymgmt/upd-ability \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -295,7 +295,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /biabilitymgmt/upd-isrequired    \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /biabilitymgmt/upd-isrequired    \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 3 - 3
TEAMModeBI/Controllers/BIAbility/AbilityTaskMgmtController.cs

@@ -96,7 +96,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitytask/get-abilitytasksid \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /biabilitytask/get-abilitytasksid \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -214,7 +214,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /biabilitytask/upd-abilitytask \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /biabilitytask/upd-abilitytask \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -261,7 +261,7 @@ namespace TEAMModeBI.Controllers.BIAbility
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   /biabilitytask/delabilitytask    \n  {ex.Message} {ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   /biabilitytask/delabilitytask    \n  {ex.Message} {ex.StackTrace}", GroupNames.成都开发測試群組);
                 return Ok(new { state = 404 });
             }
         }

+ 2 - 2
TEAMModeBI/Controllers/BISchool/AreaRelevantController.cs

@@ -75,7 +75,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option.Location} /area/get-areaschools  \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option.Location} /area/get-areaschools  \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }        
         }
@@ -122,7 +122,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option.Location}   /area/set-areashiftschool \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option.Location}   /area/set-areashiftschool \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 4 - 4
TEAMModeBI/Controllers/BISchool/BatchAreaController.cs

@@ -74,7 +74,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} batcharea/get-areas \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} batcharea/get-areas \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -132,7 +132,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} batcharea/batch-createarea \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} batcharea/batch-createarea \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -463,7 +463,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batcharea/batch-area \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batcharea/batch-area \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -654,7 +654,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   batcharea/cutstandard \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   batcharea/cutstandard \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }            
         }

+ 12 - 12
TEAMModeBI/Controllers/BISchool/BatchSchoolController.cs

@@ -98,7 +98,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location},  /batchschool/get-teacherroles \n{ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location},  /batchschool/get-teacherroles \n{ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
 
             }
@@ -199,7 +199,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}, batchschool/get-quitstaff \n{ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}, batchschool/get-quitstaff \n{ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -386,7 +386,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /batchschool/batch-school \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /batchschool/batch-school \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -465,7 +465,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/get-schoolsinfo  \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/get-schoolsinfo  \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -561,7 +561,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/get-schools \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/get-schools \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -626,7 +626,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/upd-school \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/upd-school \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -809,7 +809,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,  {_option.Location}   /batchschool/upd-schoolassist   \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,  {_option.Location}   /batchschool/upd-schoolassist   \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -879,7 +879,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/upd-schoolPeriod   \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/upd-schoolPeriod   \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -934,7 +934,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/set-schoolperiod   \n {ex.Message}{ex.StackTrace} ", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/set-schoolperiod   \n {ex.Message}{ex.StackTrace} ", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -989,7 +989,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/del-schoolperiod \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/del-schoolperiod \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -1086,7 +1086,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/set-schoolperiodinfo   \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /batchschool/set-schoolperiodinfo   \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -1118,7 +1118,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   /batchschool/get-schooldist  \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   /batchschool/get-schooldist  \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 2 - 2
TEAMModeBI/Controllers/BISchool/SchoolController.cs

@@ -73,7 +73,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /schoolcheck/get-notarea   \n    {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /schoolcheck/get-notarea   \n    {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -133,7 +133,7 @@ namespace TEAMModeBI.Controllers.BISchool
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /schoolcheck/set-schooljoinarea   \n    {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /schoolcheck/set-schooljoinarea   \n    {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 1 - 1
TEAMModeBI/Controllers/BIServer/BiServersController.cs

@@ -75,7 +75,7 @@ namespace TEAMModeBI.Controllers.BIServer
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option} /biservers/get-mobileuserinfo  \n {ex.Message} {ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option} /biservers/get-mobileuserinfo  \n {ex.Message} {ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 64 - 29
TEAMModeBI/Controllers/BITest/TestController.cs

@@ -155,7 +155,7 @@ namespace TEAMModeBI.Controllers.BITest
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /batchschool/batch-school \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /batchschool/batch-school \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -191,7 +191,7 @@ namespace TEAMModeBI.Controllers.BITest
 
             CreateSchoolInfo data = await SchoolCode.GenerateSchoolCode(createSchoolInfo, _dingDing, _environment);
             string temp = null;
-            return Ok(new { state = 200, data , data.id});
+            return Ok(new { state = 200, data, data.id });
         }
 
 
@@ -247,7 +247,7 @@ namespace TEAMModeBI.Controllers.BITest
                                 createSchoolInfo.createCount = 2;
                                 createSchoolInfo = await SchoolCode.GenerateSchoolCode(createSchoolInfo, _dingDing, _environment);
                                 var schoolStatu2 = await cosmosClient.GetContainer(Constant.TEAMModelOS, "School").ReadItemStreamAsync($"{createSchoolInfo.id}", new PartitionKey($"Base"));
-                                
+
                                 if (schoolStatu2.Status == 200)
                                 {
                                     createSchoolInfo.createCount = 3;
@@ -266,7 +266,7 @@ namespace TEAMModeBI.Controllers.BITest
                             }
                         }
 
-                        if (createSchoolInfo.id != null) 
+                        if (createSchoolInfo.id != null)
                         {
                             List<Period> periods = new List<Period>();
                             string campusId = Guid.NewGuid().ToString();
@@ -389,7 +389,7 @@ namespace TEAMModeBI.Controllers.BITest
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /batchschool/batch-school \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /batchschool/batch-school \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -495,7 +495,7 @@ namespace TEAMModeBI.Controllers.BITest
                     }
                     return Ok(new { state = 200, rspInduction.Result.DataList });
                 }
-                else 
+                else
                 {
                     return Ok(new { state = 400, rspInduction.SubErrCode, rspInduction.SubErrMsg });
                 }
@@ -550,59 +550,94 @@ namespace TEAMModeBI.Controllers.BITest
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI , {_option.Location} //   {ex.Message}\n ", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI , {_option.Location} //   {ex.Message}\n ", GroupNames.成都开发測試群組);
                 return BadRequest();
 
             }
         }
 
-        [ProducesDefaultResponseType]
-        [HttpPost("testtable")]
-        public async Task<IActionResult> testTable() 
+        public async Task<IActionResult> GetExamineT()
         {
-            Dictionary<string, object> dic = new Dictionary<string, object> { { "PartitionKey", "continent" }, { "RowKey", "16329930923167441" } };
-            List<DingDingUserInfo> users = await _azureStorage.FindListByDict<DingDingUserInfo>(dic);
-            foreach (var item in users)
+
+            return Ok(new { state = 200 });
+        }
+
+
+        [HttpPost("get-testpage")]
+        public async Task<IActionResult> GetTestPage()
+        {
+            List<string> st = new List<string> { { "1-23" }, { "2-022" }, { "3-ijjis" }, { "4-ssss" }, { "5-02rrr2" }, { "6-00srr22" }, { "7-002sr2" }, { "8-00s2srg2" }, { "9-0022ssgf" }, { "10-0ssa022" }, { "11-002saf2" }, { "12-0022" } };
+
+            List<pageTest> pageTests = new List<pageTest>();
+            List<pageTest1> pageTests1 = new List<pageTest1>();
+            foreach (var item in st)
             {
+                int i = 0;
+                pageTest pageTest = new pageTest();
+                pageTest.keyt = $"分页{i}";
+                pageTest.listv = item;
+                pageTests.Add(pageTest);
+                i += 1;
+            }
 
+            for (int i = 0; i < st.Count; i++)
+            {
+                pageTest1 pageTest = new pageTest1();
+                pageTest.keyt = $"分页{i}";
+                pageTest.listv = st.Skip(i).Take(st.Count - i).ToList();
+                pageTests1.Add(pageTest);
             }
 
-            return Ok(new { users });
+            return Ok(new { pageTests, pageTests1 });
+        }
+
+        public record pageTest
+        {
+            public string keyt { get; set; }
+            public string listv { get; set; }
         }
 
+        public record pageTest1
+        {
+            public string keyt { get; set; }
+            public List<string> listv { get; set; }
+        }
 
         [HttpPost("tablesavetestlist")]
-        public async Task<IActionResult> cares() 
+        public async Task<IActionResult> cares()
         {
             List<string> temp = new List<string>() { { "123456" }, { "123456" } };
             StringBuilder stringBuilder = new StringBuilder();
             temp.ForEach(p => { stringBuilder.Append(p).Append(","); });
-            List <SaveTestList> saveTestLists = new List<SaveTestList>();
+            List<SaveTestList> saveTestLists = new List<SaveTestList>();
             SaveTestList saveTestList = new SaveTestList();
             saveTestList.PartitionKey = "TestJose";
-            saveTestList.RowKey= DateTimeOffset.UtcNow.ToUnixTimeMilliseconds().ToString();
-            saveTestList.tojson = string.Join(",", temp.ToArray());
-
-            saveTestList.tojson1 = stringBuilder.ToString();
-            saveTestList.tolist1 = temp;
+            saveTestList.RowKey = "1640762925550";
+            saveTestList.name = "前台";
+            saveTestList.sex = "男";
+            saveTestList.dept = "行政部";
+            saveTestList.describe = "你好我是行政部的前台的1640762925550";
             saveTestLists.Add(saveTestList);
 
-            var temp1 = await _azureStorage.SaveAll<SaveTestList>(saveTestLists);
+            var temp1 = await _azureStorage.SaveOrUpdateAll<SaveTestList>(saveTestLists);
 
-            return Ok(new { state = 200 });
+            return Ok(new { state = 200, temp1 });
         }
 
-        [TableName(Name = ("TestList"))]
+        [TableName(Name = ("BITestTable"))]
         public class SaveTestList : TableEntity
         {
-            public string tojson { get; set; }
+            public string name { get; set; }
+
+            public string sex { get; set; }
+
+            public string dept { get; set; }
 
-            public string tojson1 { get; set; }
-            public List<string> tolist1 { get; set; }
+            public string describe { get; set; }
         }
 
 
-            public class GenerateRandom
+        public class GenerateRandom
         {
             /// <summary>
             /// 生成随机数字
@@ -750,7 +785,7 @@ namespace TEAMModeBI.Controllers.BITest
             }
         }
 
-            public record CreateSchoolCode
+        public record CreateSchoolCode
         {
             public string province { get; set; }
             public string id { get; set; }

+ 1 - 1
TEAMModeBI/Controllers/DingDingStruc/DDBackEndController.cs

@@ -178,7 +178,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /ddbackend/get-backendbind \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /ddbackend/get-backendbind \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 1 - 1
TEAMModeBI/Controllers/DingDingStruc/DDDeptController.cs

@@ -252,7 +252,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location},branch/get-quitstaff \n{ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location},branch/get-quitstaff \n{ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 4 - 4
TEAMModeBI/Controllers/DingDingStruc/DDStructController.cs

@@ -477,7 +477,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   dd/get-tmdandddusers  \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   dd/get-tmdandddusers  \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -657,7 +657,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location},dd/get-dduserinfo \n{ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location},dd/get-dduserinfo \n{ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -1523,7 +1523,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} dd/get-dduserinfo   \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} dd/get-dduserinfo   \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -1732,7 +1732,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  dd/get-ddstruct \n   {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  dd/get-ddstruct \n   {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 6 - 6
TEAMModeBI/Controllers/DingDingStruc/TableDingDingInfoController.cs

@@ -179,7 +179,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /tabledd/get-dingdingusers  \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /tabledd/get-dingdingusers  \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -231,7 +231,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} /tabledd/get-ddusers  \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} /tabledd/get-ddusers  \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -314,7 +314,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /tabledd/set-ddinductionuser   \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /tabledd/set-ddinductionuser   \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -384,7 +384,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   /tabledd/del-ddquituser   \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   /tabledd/del-ddquituser   \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -452,7 +452,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /tabledd/set-permissions   \n  {ex.Message}{ex.StackTrace} ", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /tabledd/set-permissions   \n  {ex.Message}{ex.StackTrace} ", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -533,7 +533,7 @@ namespace TEAMModeBI.Controllers.DingDingStruc
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option.Location}   /tabledd/get-dduserdeptid \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option.Location}   /tabledd/get-dduserdeptid \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 5 - 5
TEAMModeBI/Controllers/LoginController.cs

@@ -650,7 +650,7 @@ namespace TEAMModeBI.Controllers
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location} common/login/bind   \n {ex.Message}{ex.StackTrace} ", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location} common/login/bind   \n {ex.Message}{ex.StackTrace} ", GroupNames.成都开发測試群組);
                 return Ok(new
                 {
                     state = 1,
@@ -792,7 +792,7 @@ namespace TEAMModeBI.Controllers
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}, /common/login/get-teacherinfo \n{ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}, /common/login/get-teacherinfo \n{ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -908,7 +908,7 @@ namespace TEAMModeBI.Controllers
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option.Location} /common/login/get-ddscancode   \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option.Location} /common/login/get-ddscancode   \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -981,7 +981,7 @@ namespace TEAMModeBI.Controllers
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option.Location} /common/login/binguser   \n {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option.Location} /common/login/binguser   \n {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -1071,7 +1071,7 @@ namespace TEAMModeBI.Controllers
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}  /common/login/get-ddinfo   \n  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}  /common/login/get-ddinfo   \n  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }

+ 2 - 2
TEAMModeBI/Controllers/OperateRecord/OperateLogController.cs

@@ -64,7 +64,7 @@ namespace TEAMModeBI.Controllers.OperateRecord
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI,{_option.Location}   /operatelog/get-operatelogbydate    {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI,{_option.Location}   /operatelog/get-operatelogbydate    {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }
         }
@@ -122,7 +122,7 @@ namespace TEAMModeBI.Controllers.OperateRecord
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"BI, {_option.Location} /operatelog/del-operatelogbydate  {ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"BI, {_option.Location} /operatelog/del-operatelogbydate  {ex.Message}{ex.StackTrace}", GroupNames.成都开发測試群組);
                 return BadRequest();
             }