using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using BLL; using WebAPI.Filter; namespace WebAPI.Controllers { /// /// /// public class getController : ApiController { /// /// 获取凭证 /// /// /// /// /// [HttpGet] public object token(string projectId, string appId, string appSecret) { return new { code = 0, data = new { token = Const.sysglyId }, tokenExpires = Funs.ConvertDateTimeToInt32(DateTime.Now.AddMonths(1)), }; } } }