ff
2020-12-22 383dd7d14714cbdcf44d86786d7166abe2699141
nothing
13个文件已修改
16 ■■■■■ 已修改文件
ZY.Mes.Api/Controllers/TestController.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/DIStart.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Job.dll 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Job.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Service.dll 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Service.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/obj/Debug/netcoreapp3.1/ZY.Mes.Job.csprojAssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/obj/Debug/netcoreapp3.1/ZY.Mes.Job.dll 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Job/obj/Debug/netcoreapp3.1/ZY.Mes.Job.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Service/TestService.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Service/obj/Debug/netcoreapp3.1/ZY.Mes.Service.csprojAssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Service/obj/Debug/netcoreapp3.1/ZY.Mes.Service.dll 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Service/obj/Debug/netcoreapp3.1/ZY.Mes.Service.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ZY.Mes.Api/Controllers/TestController.cs
@@ -28,7 +28,6 @@
        [HttpPost]
        public ApiResult SetTestQue(string queStr)
        {
            return _testService.SetTestQue(queStr);
        }
        [Route("api/test/test")]
ZY.Mes.Job/DIStart.cs
@@ -21,13 +21,17 @@
            Configuration = configuration;
        }
        public IConfiguration Configuration { get; }
        /// <summary>
        /// 注入
        /// </summary>
        /// <param name="services"></param>
        public void ConfigureServices(IServiceCollection services)
        {
            new InterfaceInject(services);//dal和service层的接口注入
            services.AddTransient<JobControl>();//作业注入
            services.AddAutoMapper(typeof(MapperConfig).Assembly);
            services.AddSingleton(new RedisPools(Configuration));
            services.AddSingleton(new SqlPools(Configuration));
            services.AddSingleton<JobControl>();//作业注入
            services.AddAutoMapper(typeof(MapperConfig).Assembly);//automapper注入
            services.AddSingleton(new RedisPools(Configuration));//缓存注入
            services.AddSingleton(new SqlPools(Configuration));//数据库注入
        }
    }
}
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Job.dll
Binary files differ
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Job.pdb
Binary files differ
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Service.dll
Binary files differ
ZY.Mes.Job/bin/Debug/netcoreapp3.1/ZY.Mes.Service.pdb
Binary files differ
ZY.Mes.Job/obj/Debug/netcoreapp3.1/ZY.Mes.Job.csprojAssemblyReference.cache
Binary files differ
ZY.Mes.Job/obj/Debug/netcoreapp3.1/ZY.Mes.Job.dll
Binary files differ
ZY.Mes.Job/obj/Debug/netcoreapp3.1/ZY.Mes.Job.pdb
Binary files differ
ZY.Mes.Service/TestService.cs
@@ -57,6 +57,9 @@
            RedisPools.GetRedisClient("redis").LPush(RedisKeyView.LD_TESTQUE.Key, RedisKeyView.LD_TESTQUE.DbIndex, queStr);
            return new ApiResult(ApiResultCode.OK, "入列成功");
        }
        /// <summary>
        /// 测试出列
        /// </summary>
        public void PopTestQue()
        {
            while (true)
ZY.Mes.Service/obj/Debug/netcoreapp3.1/ZY.Mes.Service.csprojAssemblyReference.cache
Binary files differ
ZY.Mes.Service/obj/Debug/netcoreapp3.1/ZY.Mes.Service.dll
Binary files differ
ZY.Mes.Service/obj/Debug/netcoreapp3.1/ZY.Mes.Service.pdb
Binary files differ