增加心跳接口

This commit is contained in:
2023-03-30 11:39:17 +08:00
parent 401b717fc2
commit 0a6fba29cd
8 changed files with 88 additions and 15 deletions

View File

@@ -147,7 +147,7 @@ public class RunService : IRunService, ITransient
LogicalDelete(templateInfo); // 处理软删除
primaryKey = GetPrimary(link, templateInfo.MainTableName);
bool udp = _userManager.UserOrigin == "pc" ? templateInfo.ColumnData.useDataPermission : templateInfo.AppColumnData.useDataPermission;
var pvalue = _userManager.GetCondition<Dictionary<string, object>>(primaryKey, input.menuId, udp).Result;
var pvalue = await _userManager.GetCondition<Dictionary<string, object>>(primaryKey, input.menuId, udp);
var pvalueJson = pvalue.ToJsonString();
foreach (var item in templateInfo.AllTableFields)
{