23 lines
503 B
C#
23 lines
503 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Assets.Scripts.Apis
|
|
{
|
|
public class JsonResult
|
|
{
|
|
public bool result { get; set; }
|
|
//public dynamic data { get; set; }
|
|
public string errMsg { get; set; }
|
|
}
|
|
|
|
public class JsonResult<T> : JsonResult
|
|
{
|
|
//public bool result { get; set; }
|
|
public T data { get; set; }
|
|
//public string errMsg { get; set; }
|
|
}
|
|
}
|