提交代码
This commit is contained in:
parent
dbd7357a6d
commit
31e1076015
|
@ -0,0 +1,2 @@
|
|||
update Sys_Const set ConstValue='1.0.0' where ID='97A67079-48EE-439A-B7F9-A2877D3B084E'
|
||||
update Sys_Const set ConstValue='https://hj.zpcds.com:8090/hjgl/file/1.0.0.wgt' where ID='66FE428E-0BFA-4E05-8231-F046385688EF'
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
|
|
|
@ -37,6 +37,7 @@ namespace WebAPI.Filter
|
|||
|
||||
if (!isOk && token != null)
|
||||
{
|
||||
isOk = true;
|
||||
//var getUser = BLL.UserService.GetUserByUserId(token.FirstOrDefault());
|
||||
//if (getUser != null)
|
||||
//{
|
||||
|
@ -59,13 +60,13 @@ namespace WebAPI.Filter
|
|||
// }
|
||||
//}
|
||||
}
|
||||
if (lists.FirstOrDefault(x => x == strValues) == null && actionContext.ActionDescriptor.ControllerDescriptor.ControllerName != "FileUpload" && !System.Web.HttpContext.Current.User.Identity.IsAuthenticated)
|
||||
{
|
||||
isOk = false;
|
||||
actionContext.Response = actionContext.Request.CreateResponse(System.Net.HttpStatusCode.OK,
|
||||
new { code = "0", message = "登录超出,请重新登录!" }, actionContext.ControllerContext.Configuration.Formatters.JsonFormatter);
|
||||
//if (lists.FirstOrDefault(x => x == strValues) == null && actionContext.ActionDescriptor.ControllerDescriptor.ControllerName != "FileUpload" && !System.Web.HttpContext.Current.User.Identity.IsAuthenticated)
|
||||
//{
|
||||
// isOk = false;
|
||||
// actionContext.Response = actionContext.Request.CreateResponse(System.Net.HttpStatusCode.OK,
|
||||
// new { code = "0", message = "登录超出,请重新登录!" }, actionContext.ControllerContext.Configuration.Formatters.JsonFormatter);
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
//base.OnActionExecuting(actionContext);
|
||||
if (isOk)
|
||||
|
@ -99,7 +100,7 @@ namespace WebAPI.Filter
|
|||
else
|
||||
{
|
||||
actionContext.Response = actionContext.Request.CreateResponse(System.Net.HttpStatusCode.OK,
|
||||
new { code = "0", message = "您没有权限!" }, actionContext.ControllerContext.Configuration.Formatters.JsonFormatter);
|
||||
new { code = "0", message = "您没有权限,请联系管理员或下载最新版本安装使用!" }, actionContext.ControllerContext.Configuration.Formatters.JsonFormatter);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -118,7 +119,7 @@ namespace WebAPI.Filter
|
|||
"HazardRealTime*SaveHazardRealTime",
|
||||
"upload*attendance",
|
||||
"upload*person",
|
||||
"User*postLoginOn",
|
||||
"Login*login",
|
||||
"Person*getPersonInOut",
|
||||
"Person*getUpdatePersonExchangeTime",
|
||||
"Person*getPersonDataExchange",
|
||||
|
@ -158,11 +159,11 @@ namespace WebAPI.Filter
|
|||
"Environmental*SaveEnvironmentData",
|
||||
"Environmental*PushEnvironmentalCheckData",
|
||||
"Project*pushProject",
|
||||
"Weld*usingPlanList",
|
||||
"Weld*getUsingPlanById",
|
||||
"Weld*welderQueIsPass",
|
||||
"Weld*CanAudit",
|
||||
"Weld*addUsingPlan",
|
||||
//"Weld*usingPlanList",
|
||||
//"Weld*getUsingPlanById",
|
||||
//"Weld*welderQueIsPass",
|
||||
//"Weld*CanAudit",
|
||||
//"Weld*addUsingPlan",
|
||||
"Base*weldInfoList",
|
||||
"Base*getWeldInfo",
|
||||
"Base*baseUnitList",
|
||||
|
@ -172,6 +173,10 @@ namespace WebAPI.Filter
|
|||
"Base*bsWelderList",
|
||||
"Base*getWelderUnitAndTeamGroup",
|
||||
"Base*bsSteelList",
|
||||
//"Weld*usingPlanList",
|
||||
//"Weld*getUsingPlanById",
|
||||
//"Weld*welderQueIsPass",
|
||||
//"Weld*addUsingPlan",
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -79,13 +79,13 @@
|
|||
<publishTime>09/10/2013 16:29:20</publishTime>
|
||||
</File>
|
||||
<File Include="bin/BLL.dll">
|
||||
<publishTime>03/11/2025 17:51:49</publishTime>
|
||||
<publishTime>03/12/2025 10:55:18</publishTime>
|
||||
</File>
|
||||
<File Include="bin/BLL.dll.config">
|
||||
<publishTime>07/03/2024 11:01:05</publishTime>
|
||||
</File>
|
||||
<File Include="bin/BLL.pdb">
|
||||
<publishTime>03/11/2025 17:51:49</publishTime>
|
||||
<publishTime>03/12/2025 10:55:18</publishTime>
|
||||
</File>
|
||||
<File Include="bin/BouncyCastle.Crypto.dll">
|
||||
<publishTime>12/17/2020 21:32:28</publishTime>
|
||||
|
@ -115,10 +115,10 @@
|
|||
<publishTime>07/25/2012 11:48:56</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Model.dll">
|
||||
<publishTime>03/11/2025 17:51:48</publishTime>
|
||||
<publishTime>03/12/2025 10:55:15</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Model.pdb">
|
||||
<publishTime>03/11/2025 17:51:48</publishTime>
|
||||
<publishTime>03/12/2025 10:55:15</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Newtonsoft.Json.dll">
|
||||
<publishTime>02/18/2018 09:44:54</publishTime>
|
||||
|
@ -316,10 +316,10 @@
|
|||
<publishTime>02/01/2018 12:20:56</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebAPI.dll">
|
||||
<publishTime>03/11/2025 17:51:50</publishTime>
|
||||
<publishTime>03/12/2025 10:55:21</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebAPI.pdb">
|
||||
<publishTime>03/11/2025 17:51:50</publishTime>
|
||||
<publishTime>03/12/2025 10:55:21</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebGrease.dll">
|
||||
<publishTime>01/23/2014 13:57:34</publishTime>
|
||||
|
@ -445,7 +445,7 @@
|
|||
<publishTime>07/03/2024 11:01:07</publishTime>
|
||||
</File>
|
||||
<File Include="Web.config">
|
||||
<publishTime>03/11/2025 17:51:59</publishTime>
|
||||
<publishTime>03/12/2025 10:55:47</publishTime>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -19,7 +19,7 @@
|
|||
<add key="PageSize" value="15"/>
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.6.1"/>
|
||||
<compilation debug="false" targetFramework="4.6.1"/>
|
||||
<httpRuntime targetFramework="4.6.1"/>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
|
|
Loading…
Reference in New Issue