修改导表
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-29 17:37:20 +08:00
parent 2a1047f319
commit 67667f6438
5 changed files with 311 additions and 2 deletions
@@ -16,6 +16,7 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -412,12 +413,22 @@ namespace IRaCIS.Api.Controllers
[HttpGet("User/OAuthCallBack")]
public async Task<IResponseOutput> OAuthCallBack(string type, string code)
{
#region AccessToken
var headerDic = new Dictionary<string, string>();
headerDic.Add("code", code);
headerDic.Add("grant_type", "authorization_code");
headerDic.Add("redirect_uri", "http://localhost:6100");
headerDic.Add("scope", "all");
#endregion
return ResponseOutput.Ok();
}
#endregion
#region ip