mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
fix issue #I6J136 选字段时报错
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user