示例#1
0
 public APIResponse GetSpaceTree(string ModuleID, string UserGUID)
 {
     try
     {
         return(new APIResponse
         {
             returnCode = 0,
             returnMessage = "Success",
             returnObject = _spaceService.GetSpaceTree(ModuleID, UserGUID)
         });
     }
     catch (Exception ex)
     {
         return(new APIResponse
         {
             returnCode = -1,
             returnMessage = ex.Message.ToString()
         });
     }
 }