摘要: 你还在代码里面通篇通过数字的定义类型。比如type为1 表示xx,type为2 表示yy吗?然后程序里面通过数字1和2来判断吗?比如下面类似的代码: if(type==1){ //.... } else if(type==2){ //... } else if(type==3){ //... } 老 阅读全文
posted @ 2021-04-28 20:16 China Soft 阅读(1789) 评论(1) 推荐(0) 编辑
摘要: <PropertyGroup> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntime 阅读全文
posted @ 2021-04-28 20:11 China Soft 阅读(478) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/aptx14/article/details/106206632 1、在ConfigureServices下添加 services.AddCors(options => { options.AddPolicy("cors", builder => buil 阅读全文
posted @ 2021-04-28 17:31 China Soft 阅读(209) 评论(0) 推荐(0) 编辑