添加项目文件。
This commit is contained in:
15
HT.Cloud.Code/Model/ApiToken.cs
Normal file
15
HT.Cloud.Code/Model/ApiToken.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace HT.Cloud.Code.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 这个是移动端Api用的
|
||||
/// </summary>
|
||||
public class BaseApiToken
|
||||
{
|
||||
[NotMapped]
|
||||
[Description("WebApi没有Cookie和Session,所以需要传入Token来标识用户身份,请加在Url后面")]
|
||||
public string Token { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user