初始化仓库
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SgManager.AI
|
||||
{
|
||||
public class APIBaseModel<T> where T : class, new()
|
||||
{
|
||||
|
||||
public T contextModel//这里的context 调用要重新实例化一个
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public bool state { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 非接口信息错误
|
||||
/// </summary>
|
||||
public string errorMsg { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user