修改MSK API

usertest
jianghaiqing 4 months ago
parent 5f50087d22
commit d15420c182

@ -107,7 +107,7 @@ public class ConfigService : IConfigService
.Where(x => x.Code == code && x.TenantId == tenantId).Select<ConfigRes>().FirstAsync(); .Where(x => x.Code == code && x.TenantId == tenantId).Select<ConfigRes>().FirstAsync();
if(data != null) if(data != null)
DataResult<ConfigRes>.Success(data); return DataResult<ConfigRes>.Success(data);
return DataResult<ConfigRes>.FailedData(data); return DataResult<ConfigRes>.FailedData(data);
} }

@ -348,3 +348,17 @@
2024-07-17 13:36:20.7429 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=E:\MyCode\Dongsheng8\ds-wms-service\DS.WMS.OpApi\bin\Debug\net8.0\nlog.config 2024-07-17 13:36:20.7429 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=E:\MyCode\Dongsheng8\ds-wms-service\DS.WMS.OpApi\bin\Debug\net8.0\nlog.config
2024-07-17 13:36:20.7429 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile 2024-07-17 13:36:20.7429 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-17 13:36:20.7553 Info Configuration initialized. 2024-07-17 13:36:20.7553 Info Configuration initialized.
2024-07-17 13:59:03.7262 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-17 13:59:03.7262 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-17 13:59:03.7399 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-17 13:59:03.7399 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-07-17 13:59:03.7399 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=E:\MyCode\Dongsheng8\ds-wms-service\DS.WMS.OpApi\bin\Debug\net8.0\nlog.config
2024-07-17 13:59:03.7565 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-17 13:59:03.7565 Info Configuration initialized.
2024-07-17 14:01:25.4803 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-17 14:01:25.4922 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-17 14:01:25.4922 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-17 14:01:25.5048 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False
2024-07-17 14:01:25.5048 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=E:\MyCode\Dongsheng8\ds-wms-service\DS.WMS.OpApi\bin\Debug\net8.0\nlog.config
2024-07-17 14:01:25.5048 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-17 14:01:25.5048 Info Configuration initialized.

Loading…
Cancel
Save