fix warning

This commit is contained in:
2024-08-03 19:19:42 +08:00
parent 4d0f801f21
commit ac4619a789
10 changed files with 122 additions and 86 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public static class SimApiExtensions
{
//**********快捷添加**************
public static IServiceCollection AddSimApi(this IServiceCollection builder,
Action<SimApiOptions> options = null)
Action<SimApiOptions>? options = null)
{
var simApiOptions = new SimApiOptions();
options?.Invoke(simApiOptions);