平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 rivejä
629 B

  1. //
  2. namespace SafeCampus.Core;
  3. /// <summary>
  4. /// 全局返回结果
  5. /// </summary>
  6. /// <typeparam name="T"></typeparam>
  7. public class SafeCampusResult<T>
  8. {
  9. /// <summary>
  10. /// 状态码
  11. /// </summary>
  12. public int Code { get; set; }
  13. /// <summary>
  14. /// 错误信息
  15. /// </summary>
  16. public object Msg { get; set; }
  17. /// <summary>
  18. /// 数据
  19. /// </summary>
  20. public T Data { get; set; }
  21. /// <summary>
  22. /// 附加数据
  23. /// </summary>
  24. public object Extras { get; set; }
  25. /// <summary>
  26. /// 时间
  27. /// </summary>
  28. public DateTime Time { get; set; }
  29. }