Skip to content

Commit

Permalink
服务的签名不正确
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Jul 26, 2024
1 parent b97a2b9 commit ac772bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NewLife.Remoting/Clients/ICommandClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public static async Task<CommandReplyModel> ExecuteCommand(this ICommandClient c
if (d is Func<String?, String?> func32) return func32(model.Argument);
//if (d is Func<String, Object> func33) return func33(model.Argument);

return null;
//return null;
throw new ApiException(ApiCode.InternalServerError, $"服务[{model.Command}]的签名[{d}]不正确");
}
}

0 comments on commit ac772bd

Please sign in to comment.