private object Service_ApiGet(object sender, ApiEventArgs args) { if (Utils.EqualsIgnoreCase(args.Action, nameof(ApiUtils.Captcha))) { return(ApiUtils.Captcha(args.Request, args.Id)); } throw new Exception("请求的资源不在服务器上"); }
private object Service_ApiGet(object sender, ApiEventArgs args) { if (Utils.EqualsIgnoreCase(args.Action, nameof(ApiUtils.Captcha))) { return(ApiUtils.Captcha(args.Request, args.Id)); } throw new Exception("请求的资源不在服务器上"); }