fix issue #I6J136 选字段时报错

This commit is contained in:
yubaolee
2023-03-04 16:51:14 +08:00
parent 6740858251
commit c4a3da7027
3 changed files with 7 additions and 3 deletions

View File

@@ -140,6 +140,10 @@ namespace OpenAuth.Mvc.Controllers
{
try
{
if (string.IsNullOrEmpty(moduleCode))
{
throw new Exception("模块标识为空,不能分配可见字段");
}
var list = _authStrategyContext.GetTableColumns(moduleCode);
return JsonHelper.Instance.Serialize(new TableData
{