IESHttpTrigger.cs 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. using Azure.Cosmos;
  2. using Azure.Storage.Blobs.Models;
  3. using HTEXLib.COMM.Helpers;
  4. using Microsoft.Azure.Cosmos.Table;
  5. using Microsoft.Azure.Functions.Worker;
  6. using Microsoft.Azure.Functions.Worker.Http;
  7. using System;
  8. using System.Collections.Generic;
  9. using System.IO;
  10. using System.Linq;
  11. using System.Net;
  12. using System.Reflection;
  13. using System.Text;
  14. using System.Text.Json;
  15. using System.Threading.Tasks;
  16. using TEAMModelOS.SDK;
  17. using TEAMModelOS.SDK.DI;
  18. using TEAMModelOS.SDK.Extension;
  19. using TEAMModelOS.SDK.Models;
  20. using TEAMModelOS.SDK.Models.Cosmos.Teacher;
  21. using TEAMModelOS.SDK.Models.Table;
  22. using static TEAMModelOS.SDK.Models.Teacher;
  23. namespace TEAMModelOS.FunctionV4.HttpTrigger
  24. {
  25. public class IESHttpTrigger
  26. {
  27. private readonly AzureCosmosFactory _azureCosmos;
  28. private readonly DingDing _dingDing;
  29. private readonly AzureStorageFactory _azureStorage;
  30. private readonly AzureRedisFactory _azureRedis;
  31. public IESHttpTrigger(AzureCosmosFactory azureCosmos, DingDing dingDing, AzureStorageFactory azureStorage
  32. , AzureRedisFactory azureRedis)
  33. {
  34. _azureCosmos = azureCosmos;
  35. _dingDing = dingDing;
  36. _azureStorage = azureStorage;
  37. _azureRedis = azureRedis;
  38. }
  39. /// <summary>
  40. /// 数据推送接口
  41. /// </summary>
  42. /// <param name="req"></param>
  43. /// <param name="log"></param>
  44. /// <returns></returns>
  45. [Function("system-info-function")]
  46. public async Task<HttpResponseData> SystemInfo([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = null)] HttpRequestData req)
  47. {
  48. var response = req.CreateResponse(HttpStatusCode.OK);
  49. Type attr = this.GetType();
  50. string currentDirectory = Path.GetDirectoryName(attr.Assembly.Location);
  51. Assembly assembly = Assembly.LoadFrom($"{currentDirectory}\\TEAMModelOS.FunctionV4.dll");
  52. var description = assembly.GetCustomAttribute<AssemblyDescriptionAttribute>().Description;
  53. //var v1 = Assembly.GetEntryAssembly().GetName().Version;
  54. //var v2 = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
  55. // var description = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyDescriptionAttribute>().Description;
  56. var version = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
  57. long nowtime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
  58. //Console.WriteLine($"Assembly.GetEntryAssembly().GetName().Version: " +
  59. // $"{Assembly.GetEntryAssembly().GetName().Version}");5.2107.12.1
  60. //Console.WriteLine($"Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version:" +
  61. // $"{Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version}");5.2107.12.1
  62. //Console.WriteLine($"Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion:" +
  63. // $"{Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion}");5.2107.12
  64. await response.WriteAsJsonAsync(new { version, description, nowtime });
  65. return response;
  66. }
  67. /// <summary>
  68. /// 数据推送接口
  69. /// </summary>
  70. /// <param name="req"></param>
  71. /// <param name="log"></param>
  72. /// <returns></returns>
  73. [Function("knowledge-change")]
  74. public async Task<HttpResponseData> KnowledgeChange([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequestData req)
  75. {
  76. var response = req.CreateResponse(HttpStatusCode.OK);
  77. string data = await new StreamReader(req.Body).ReadToEndAsync();
  78. var json = JsonDocument.Parse(data).RootElement;
  79. List<OldNew> old_new = null;
  80. string school = null;
  81. if (json.TryGetProperty("school", out JsonElement _school))
  82. {
  83. school = _school.GetString();
  84. }
  85. if (json.TryGetProperty("old_new", out JsonElement _old_new))
  86. {
  87. old_new = _old_new.ToObject<List<OldNew>>();
  88. }
  89. if (old_new.IsNotEmpty() && !string.IsNullOrWhiteSpace(school))
  90. {
  91. foreach (var on in old_new)
  92. {
  93. List<ItemInfo> items = new List<ItemInfo>();
  94. string sql = $"select value(c) from c where array_contains(c.knowledge,'{on._old}') ";
  95. await foreach (var item in _azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, "School").GetItemQueryIterator<ItemInfo>
  96. (queryText: sql.ToString(), requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Item-{_school}") }))
  97. {
  98. items.Add(item);
  99. }
  100. items.ForEach(item =>
  101. {
  102. //修改知识点
  103. if (!string.IsNullOrEmpty(on._new))
  104. {
  105. for (int i = 0; i < item.knowledge.Count; i++)
  106. {
  107. if (item.knowledge[i].Equals(on._old))
  108. {
  109. item.knowledge[i] = on._new;
  110. }
  111. }
  112. }
  113. else
  114. {
  115. //表示删除知识点
  116. item.knowledge.RemoveAll(x => x.Equals(on._old));
  117. }
  118. });
  119. foreach (var item in items)
  120. {
  121. ItemBlob itemBlob = null;
  122. try
  123. {
  124. BlobDownloadInfo blobDownloadResult = await _azureStorage.GetBlobContainerClient($"{school}").GetBlobClient($"/item/{item.id}/{item.id}.json").DownloadAsync();
  125. if (blobDownloadResult != null)
  126. {
  127. var blob = JsonDocument.Parse(blobDownloadResult.Content);
  128. itemBlob = blob.RootElement.ToObject<ItemBlob>();
  129. itemBlob.exercise.knowledge = item.knowledge;
  130. await _azureStorage.UploadFileByContainer($"{school}", itemBlob.ToJsonString(), "item", $"{item.id}/{item.id}.json", true);
  131. }
  132. }
  133. catch (Exception ex)
  134. {
  135. itemBlob = null;
  136. }
  137. await _azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, "School").ReplaceItemAsync(item, item.id, new PartitionKey(item.code));
  138. }
  139. }
  140. }
  141. await response.WriteAsJsonAsync(new { data = json });
  142. return response;
  143. }
  144. /// <summary>
  145. /// 在线人数记录
  146. /// </summary>
  147. /// <param name="msg"></param>
  148. /// <returns></returns>
  149. [Function("online-record")]
  150. public async Task<HttpResponseData> OnlineRecord([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequestData req)
  151. {
  152. var response = req.CreateResponse(HttpStatusCode.OK);
  153. string data = await new StreamReader(req.Body).ReadToEndAsync();
  154. var json = JsonDocument.Parse(data).RootElement;
  155. try
  156. {
  157. string school = null;
  158. string scope = null;
  159. string id = null;
  160. string ip = null;
  161. int expire = 1;
  162. if (json.TryGetProperty("school", out JsonElement _school))
  163. school = _school.GetString();
  164. if (json.TryGetProperty("scope", out JsonElement _scope))
  165. scope = _scope.GetString();
  166. if (json.TryGetProperty("id", out JsonElement _id))
  167. id = _id.GetString();
  168. if (json.TryGetProperty("ip", out JsonElement _ip))
  169. ip = _ip.GetString();
  170. if (json.TryGetProperty("expire", out JsonElement _expire))
  171. expire = _expire.GetInt32();
  172. var table = _azureStorage.GetCloudTableClient().GetTableReference("IESLogin");
  173. var cosmosClient = _azureCosmos.GetCosmosClient();
  174. DateTimeOffset dateTime = DateTimeOffset.UtcNow;
  175. var dateHour = dateTime.ToString("yyyyMMddHH"); //获取当天的小时
  176. var dateDay = dateTime.ToString("yyyyMMdd"); //获取当天的日期
  177. var dateMonth = dateTime.ToString("yyyyMM");//获取当月的日期
  178. var currentHour = dateTime.Hour; //当前小时
  179. var currentDay = dateTime.Day; //当前天
  180. long Expire = dateTime.AddHours(expire).ToUnixTimeMilliseconds(); //token到期时间
  181. long now = dateTime.ToUnixTimeMilliseconds(); //当前时间戳
  182. DateTime hour = DateTime.UtcNow.AddHours(25); //25小时到期
  183. DateTime month = DateTime.UtcNow.AddDays(32); //一个月到期
  184. var delTbHour = dateTime.AddHours(-168).ToString("yyyyMMddHH"); //168小时前
  185. var delTbDay = dateTime.AddDays(-180).ToString("yyyyMMdd"); //180天前
  186. switch (scope)
  187. {
  188. case "teacher":
  189. try
  190. {
  191. Teacher teacher = await cosmosClient.GetContainer("TEAMModelOS", "Teacher").ReadItemAsync<Teacher>(id, new PartitionKey("Base"));
  192. teacher.loginInfos = new List<LoginInfo>() { new LoginInfo { expire = Expire, ip = ip, time = now } };
  193. await cosmosClient.GetContainer("TEAMModelOS", "Teacher").ReplaceItemAsync<Teacher>(teacher, teacher.id, new PartitionKey("Base"));
  194. }
  195. catch { }
  196. break;
  197. case "student":
  198. try
  199. {
  200. Student student = await cosmosClient.GetContainer("TEAMModelOS", Constant.Student).ReadItemAsync<Student>(id, new PartitionKey($"Base-{school}"));
  201. student.loginInfos = new List<LoginInfo>() { new LoginInfo { expire = Expire, ip = ip, time = now } };
  202. await cosmosClient.GetContainer("TEAMModelOS", Constant.Student).ReplaceItemAsync<Student>(student, student.id, new PartitionKey($"Base-{school}"));
  203. }
  204. catch { }
  205. break;
  206. case "tmduser":
  207. try
  208. {
  209. TmdUser tmdUser = await cosmosClient.GetContainer("TEAMModelOS", Constant.Student).ReadItemAsync<TmdUser>(id, new PartitionKey("Base"));
  210. tmdUser.loginInfos = new List<LoginInfo>() { new LoginInfo { expire = Expire, ip = ip, time = now } };
  211. await cosmosClient.GetContainer("TEAMModelOS", Constant.Student).ReplaceItemAsync<TmdUser>(tmdUser, tmdUser.id, new PartitionKey("Base"));
  212. }
  213. catch { }
  214. break;
  215. }
  216. await _azureRedis.GetRedisClient(8).SortedSetIncrementAsync($"Login:IES:{scope}:{dateDay}", $"{currentHour}", 1);//一天24小时 小时为单位
  217. await _azureRedis.GetRedisClient(8).SortedSetIncrementAsync($"Login:IES:{scope}:{dateMonth}", $"{currentDay}", 1); //一天的累计 天为单位
  218. var resDay = await _azureRedis.GetRedisClient(8).KeyTimeToLiveAsync($"Login:IES:{scope}:{dateDay}");
  219. if (resDay == null)
  220. await _azureRedis.GetRedisClient(8).KeyExpireAsync($"Login:IES:{scope}:{dateDay}", hour); //设置到期时间
  221. var rspMonth = await _azureRedis.GetRedisClient(8).KeyTimeToLiveAsync($"Login:IES:{scope}:{dateMonth}");
  222. if (rspMonth == null)
  223. await _azureRedis.GetRedisClient(8).KeyExpireAsync($"Login:IES:{scope}:{dateMonth}", month); //设置到期时间
  224. //保存当前小时统计
  225. var dayCnt = _azureRedis.GetRedisClient(8).SortedSetRangeByScoreWithScores($"Login:IES:{scope}:{dateDay}");
  226. if (dayCnt != null && dayCnt.Length > 0)
  227. {
  228. List<HourLogin> hourLogins = new();
  229. foreach (var dCnt in dayCnt)
  230. {
  231. if (((int)dCnt.Element) == currentHour)
  232. {
  233. var tphourLogins = await table.QueryWhereString<HourLogin>($"PartitionKey eq 'HourLogin' and RowKey eq '{dateHour}'");
  234. if (tphourLogins.Count > 0)
  235. {
  236. foreach (var hourLogin in tphourLogins)
  237. {
  238. if (scope.Equals("teacher"))
  239. hourLogin.Teacher = (int)dCnt.Score;
  240. else if (scope.Equals("student"))
  241. hourLogin.Student = (int)dCnt.Score;
  242. else
  243. hourLogin.TmdUser = (int)dCnt.Score;
  244. hourLogins.Add(hourLogin);
  245. }
  246. }
  247. else
  248. {
  249. HourLogin hourLogin = new() { PartitionKey = $"HourLogin", RowKey = dateHour, Hour = currentHour };
  250. if (scope.Equals("teacher"))
  251. {
  252. hourLogin.Teacher = 1;
  253. hourLogin.Student = 0;
  254. hourLogin.TmdUser = 0;
  255. }
  256. else if (scope.Equals("student"))
  257. {
  258. hourLogin.Teacher = 0;
  259. hourLogin.Student = 1;
  260. hourLogin.TmdUser = 0;
  261. }
  262. else
  263. {
  264. hourLogin.Teacher = 0;
  265. hourLogin.Student = 0;
  266. hourLogin.TmdUser = 1;
  267. }
  268. hourLogins.Add(hourLogin);
  269. }
  270. }
  271. }
  272. await table.SaveOrUpdateAll(hourLogins); //保存和更新保存当前小时登录次数
  273. }
  274. //保存当前的统计数据
  275. var monthCnt = _azureRedis.GetRedisClient(8).SortedSetRangeByScoreWithScores($"Login:IES:{scope}:{dateMonth}");
  276. if (monthCnt != null && monthCnt.Length > 0)
  277. {
  278. List<DayLogin> dayLogins = new();
  279. foreach (var mCnt in monthCnt)
  280. {
  281. if (((int)mCnt.Element) == currentDay)
  282. {
  283. //保存当天的峰值
  284. var tbDays = await table.QueryWhereString<DayLogin>($"PartitionKey eq 'DayLogin' and RowKey eq '{dateDay}'");
  285. if (tbDays.Count > 0)
  286. {
  287. foreach (var dayLogin in tbDays)
  288. {
  289. if (scope.Equals("teacher"))
  290. dayLogin.Teacher = (int)mCnt.Score;
  291. else if (scope.Equals("student"))
  292. dayLogin.Student = (int)mCnt.Score;
  293. else
  294. dayLogin.TmdUser = (int)mCnt.Score;
  295. dayLogins.Add(dayLogin);
  296. }
  297. }
  298. else
  299. {
  300. //保存当月每天的峰值
  301. DayLogin dayLogin = new() { PartitionKey = $"DayLogin", RowKey = dateDay, Day = currentDay };
  302. if (scope.Equals("teacher"))
  303. {
  304. dayLogin.Teacher = 1;
  305. dayLogin.Student = 0;
  306. dayLogin.TmdUser = 0;
  307. }
  308. else if (scope.Equals("student"))
  309. {
  310. dayLogin.Teacher = 0;
  311. dayLogin.Student = 1;
  312. dayLogin.TmdUser = 0;
  313. }
  314. else
  315. {
  316. dayLogin.Teacher = 0;
  317. dayLogin.Student = 0;
  318. dayLogin.TmdUser = 1;
  319. }
  320. dayLogins.Add(dayLogin);
  321. }
  322. }
  323. }
  324. await table.SaveOrUpdateAll(dayLogins);// 保存当月每天在线数据
  325. }
  326. string tbHourSql = $"PartitionKey eq 'HourLogin' and RowKey le '{delTbHour}'";
  327. await table.DeleteStringWhere<HourLogin>(rowKey: tbHourSql); //删除168小时前的数据
  328. string tbDaySql = $"PartitionKey eq 'DayLogin' and RowKey le '{delTbDay}'";
  329. await table.DeleteStringWhere<DayLogin>(rowKey: tbDaySql); //删除180天前的数据
  330. if (!string.IsNullOrWhiteSpace(school))
  331. {
  332. await _azureRedis.GetRedisClient(8).SortedSetIncrementAsync($"Login:School:{school}:{scope}:{dateDay}", $"{currentHour}", 1);//当天当前小时在线人加1
  333. await _azureRedis.GetRedisClient(8).SortedSetIncrementAsync($"Login:School:{school}:{scope}:{dateMonth}", $"{currentDay}", 1); //当天的在线加1
  334. var reScDay = await _azureRedis.GetRedisClient(8).KeyTimeToLiveAsync($"Login:School:{school}:{scope}:{dateDay}");
  335. if (reScDay == null)
  336. await _azureRedis.GetRedisClient(8).KeyExpireAsync($"Login:School:{school}:{scope}:{dateDay}", hour); //设置到期时间
  337. var reScMonth = await _azureRedis.GetRedisClient(8).KeyTimeToLiveAsync($"Login:School:{school}:{scope}:{dateMonth}");
  338. if (reScMonth == null)
  339. await _azureRedis.GetRedisClient(8).KeyExpireAsync($"Login:School:{school}:{scope}:{dateMonth}", month); //设置到期时间
  340. //保存学校当天每小时的
  341. var scDayCnt = _azureRedis.GetRedisClient(8).SortedSetRangeByScoreWithScores($"Login:School:{school}:{scope}:{dateDay}");
  342. if (scDayCnt != null && scDayCnt.Length > 0)
  343. {
  344. List<HourLoginSchool> hourLoginSchools = new();
  345. foreach (var scDCnt in scDayCnt)
  346. {
  347. if (((int)scDCnt.Element) == currentHour)
  348. {
  349. var tmpHour = await table.QueryWhereString<HourLoginSchool>($"PartitionKey eq 'HourLogin-{school}' and RowKey eq '{dateHour}'");
  350. if (tmpHour.Count > 0)
  351. {
  352. foreach (var hLoginSc in tmpHour)
  353. {
  354. if (scope.Equals("teacher"))
  355. hLoginSc.Teacher = (int)scDCnt.Score;
  356. else if (scope.Equals("student"))
  357. hLoginSc.Student = (int)scDCnt.Score;
  358. else
  359. hLoginSc.TmdUser = (int)scDCnt.Score;
  360. hourLoginSchools.Add(hLoginSc);
  361. }
  362. }
  363. else
  364. {
  365. //学校小时峰值
  366. HourLoginSchool hourLoginSc = new() { PartitionKey = $"HourLogin-{school}", RowKey = dateHour, Hour = currentHour, School = school };
  367. if (scope.Equals("teacher"))
  368. {
  369. hourLoginSc.Teacher = 1;
  370. hourLoginSc.Student = 0;
  371. hourLoginSc.TmdUser = 0;
  372. }
  373. else if (scope.Equals("student"))
  374. {
  375. hourLoginSc.Teacher = 0;
  376. hourLoginSc.Student = 1;
  377. hourLoginSc.TmdUser = 0;
  378. }
  379. else
  380. {
  381. hourLoginSc.Teacher = 0;
  382. hourLoginSc.Student = 0;
  383. hourLoginSc.TmdUser = 1;
  384. }
  385. hourLoginSchools.Add(hourLoginSc);
  386. }
  387. }
  388. }
  389. await table.SaveOrUpdateAll(hourLoginSchools);
  390. }
  391. //学校天峰值
  392. var scMonthCnt = _azureRedis.GetRedisClient(8).SortedSetRangeByScoreWithScores($"Login:School:{school}:{scope}:{dateMonth}");
  393. if (scMonthCnt != null && scMonthCnt.Length > 0)
  394. {
  395. List<DayLoginSchool> DayLoginSchools = new();
  396. foreach (var scMCnt in scMonthCnt)
  397. {
  398. if (((int)scMCnt.Element) == currentDay)
  399. {
  400. var tempDays = await table.QueryWhereString<DayLoginSchool>($"PartitionKey eq 'DayLogin-{school}' and RowKey eq '{dateDay}'");
  401. if (tempDays.Count > 0)
  402. {
  403. foreach (var dLoginSc in tempDays)
  404. {
  405. if (scope.Equals("teacher"))
  406. dLoginSc.Teacher = (int)scMCnt.Score;
  407. else if (scope.Equals("student"))
  408. dLoginSc.Student = (int)scMCnt.Score;
  409. else
  410. dLoginSc.TmdUser = (int)scMCnt.Score;
  411. DayLoginSchools.Add(dLoginSc);
  412. }
  413. }
  414. else
  415. {
  416. //学校天峰值
  417. DayLoginSchool dayLoginSc = new() { PartitionKey = $"DayLogin-{school}", RowKey = dateDay, Day = currentDay, School = school };
  418. if (scope.Equals("teacher"))
  419. {
  420. dayLoginSc.Teacher = 1;
  421. dayLoginSc.Student = 0;
  422. dayLoginSc.TmdUser = 0;
  423. }
  424. else if (scope.Equals("student"))
  425. {
  426. dayLoginSc.Teacher = 0;
  427. dayLoginSc.Student = 1;
  428. dayLoginSc.TmdUser = 0;
  429. }
  430. else
  431. {
  432. dayLoginSc.Teacher = 0;
  433. dayLoginSc.Student = 0;
  434. dayLoginSc.TmdUser = 1;
  435. }
  436. DayLoginSchools.Add(dayLoginSc);
  437. }
  438. }
  439. }
  440. await table.SaveOrUpdateAll(DayLoginSchools);//保存学校当月在线数据
  441. }
  442. string tbScHourSql = "";
  443. string tbScDaySql = "";
  444. try {
  445. tbScHourSql = $"PartitionKey eq 'HourLogin-{school}' and RowKey le '{delTbHour}'";
  446. tbScDaySql = $"PartitionKey eq 'DayLogin-{school}' and RowKey le '{delTbDay}'";
  447. await table.DeleteStringWhere<HourLogin>(rowKey: tbScHourSql); //删除学校168小时前的数据
  448. await table.DeleteStringWhere<DayLogin>(rowKey: tbScDaySql); //删除学校180天前的数据
  449. } catch (Exception ex) {
  450. await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-online-record 人数记录异常{ex.Message}\n{ex.StackTrace}\ntbScHourSql:{tbScHourSql}\ntbScDaySql:{tbScDaySql}", GroupNames.成都开发測試群組);
  451. }
  452. }
  453. await response.WriteAsJsonAsync(new { data = json });
  454. return response;
  455. }
  456. catch (Exception ex)
  457. {
  458. await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-online-record 人数记录异常{ex.Message}\n{ex.StackTrace}", GroupNames.成都开发測試群組);
  459. await response.WriteAsJsonAsync(new { data = json });
  460. return response;
  461. }
  462. }
  463. }
  464. }