public void OnGet(string guid)
 {
     CodeModel = _sysCodeService.GetByGuidAsync(guid).Result.data;
     if (string.IsNullOrEmpty(CodeModel.Guid))
     {
         CodeModel.ParentGuid = guid;
     }
 }
示例#2
0
 public void OnGet(ByGuidPost parm)
 {
     CodeModel = _sysCodeService.GetByGuidAsync(parm).Result.data;
     if (string.IsNullOrEmpty(CodeModel.guid))
     {
         CodeModel.parentguid = parm.guid;
     }
 }