Compare commits
2 Commits
43262d1573
...
7871e1ed7e
Author | SHA1 | Date |
---|---|---|
|
7871e1ed7e | |
|
c2d553aa61 |
|
@ -2,7 +2,7 @@
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectView>ProjectFiles</ProjectView>
|
<ProjectView>ProjectFiles</ProjectView>
|
||||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||||
<UseIISExpress>true</UseIISExpress>
|
<UseIISExpress>true</UseIISExpress>
|
||||||
<Use64BitIISExpress>
|
<Use64BitIISExpress>
|
||||||
</Use64BitIISExpress>
|
</Use64BitIISExpress>
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
<add path="res.axd" verb="GET" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
|
<add path="res.axd" verb="GET" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
|
||||||
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
||||||
</httpHandlers>
|
</httpHandlers>
|
||||||
<compilation debug="true" targetFramework="4.6.1">
|
<compilation debug="false" targetFramework="4.6.1">
|
||||||
<buildProviders>
|
<buildProviders>
|
||||||
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
|
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
|
||||||
</buildProviders>
|
</buildProviders>
|
||||||
|
|
|
@ -46,9 +46,9 @@ namespace FineUIPro.Web
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string postData = $"code={code}&client_id={clientId}&client_secret={clientSecret}&grant_type={grant_type}&redirect_uri={redirect_url}&scope={scope}";
|
string postData = $"code={code}&client_id={clientId}&client_secret={clientSecret}&grant_type={grant_type}&redirect_uri={redirect_url}&scope={scope}";
|
||||||
//BLL.ErrLogInfo.WriteLog($"请求参数postData={postData}");
|
// BLL.ErrLogInfo.WriteLog($"请求参数postData={postData}");
|
||||||
string result = BLL.Common.HttpHelper.PostJsonByHttps(baseUrl, postData);
|
string result = BLL.Common.HttpHelper.PostJsonByHttps(baseUrl, postData);
|
||||||
//BLL.ErrLogInfo.WriteLog($"请求API Result={result}");
|
// BLL.ErrLogInfo.WriteLog($"请求API Result={result}");
|
||||||
var Data = JsonConvert.DeserializeObject<AccessTokenModel>(result);
|
var Data = JsonConvert.DeserializeObject<AccessTokenModel>(result);
|
||||||
|
|
||||||
return Data;
|
return Data;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<IISExpressWindowsAuthentication />
|
<IISExpressWindowsAuthentication />
|
||||||
<IISExpressUseClassicPipelineMode />
|
<IISExpressUseClassicPipelineMode />
|
||||||
<UseGlobalApplicationHostFile />
|
<UseGlobalApplicationHostFile />
|
||||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<VisualStudio>
|
<VisualStudio>
|
||||||
|
|
Loading…
Reference in New Issue