ZX.Api 自定义拦截器 拦截器 输出拦截器 GZip压缩 验证帮助类 解密 将指定的16进制字符串转换为byte数组 16进制字符串(如:“7F 2C 4A”或“7F2C4A”都可以) 16进制字符串对应的byte数组 Generates an URI-friendly ID for the . E.g. "Get-Values-id_name" instead of "GetValues/{id}?name={name}" The . The ID as a string. Use this class to customize the Help Page. For example you can set a custom to supply the documentation or you can provide the samples for the requests/responses. The controller that will handle requests for the help page. Sets the documentation provider for help page. The . The documentation provider. Sets the objects that will be used by the formatters to produce sample requests/responses. The . The sample objects. Sets the sample request directly for the specified media type and action. The . The sample request. The media type. Name of the controller. Name of the action. Sets the sample request directly for the specified media type and action with parameters. The . The sample request. The media type. Name of the controller. Name of the action. The parameter names. Sets the sample request directly for the specified media type of the action. The . The sample response. The media type. Name of the controller. Name of the action. Sets the sample response directly for the specified media type of the action with specific parameters. The . The sample response. The media type. Name of the controller. Name of the action. The parameter names. Sets the sample directly for all actions with the specified media type. The . The sample. The media type. Sets the sample directly for all actions with the specified type and media type. The . The sample. The media type. The parameter type or return type of an action. Specifies the actual type of passed to the in an action. The help page will use this information to produce more accurate request samples. The . The type. Name of the controller. Name of the action. Specifies the actual type of passed to the in an action. The help page will use this information to produce more accurate request samples. The . The type. Name of the controller. Name of the action. The parameter names. Specifies the actual type of returned as part of the in an action. The help page will use this information to produce more accurate response samples. The . The type. Name of the controller. Name of the action. Specifies the actual type of returned as part of the in an action. The help page will use this information to produce more accurate response samples. The . The type. Name of the controller. Name of the action. The parameter names. Gets the help page sample generator. The . The help page sample generator. Sets the help page sample generator. The . The help page sample generator. Gets the model description generator. The configuration. The Gets the model that represents an API displayed on the help page. The model is initialized on the first call and cached for subsequent calls. The . The ID. An Describes a type model. Generates model descriptions for given types. Use this attribute to change the name of the generated for a type. The model that represents an API displayed on the help page. Initializes a new instance of the class. Gets or sets the that describes the API. Gets or sets the collection that describes the URI parameters for the API. Gets or sets the documentation for the request. Gets or sets the that describes the request body. Gets the request body parameter descriptions. Gets or sets the that describes the resource. Gets the resource property descriptions. Gets the sample requests associated with the API. Gets the sample responses associated with the API. Gets the error messages associated with this model. This class will generate the samples for the help page. Initializes a new instance of the class. Gets CLR types that are used as the content of or . Gets the objects that are used directly as samples for certain actions. Gets the objects that are serialized as samples by the supported formatters. Gets factories for the objects that the supported formatters will serialize as samples. Processed in order, stopping when the factory successfully returns a non- object. Collection includes just initially. Use SampleObjectFactories.Insert(0, func) to provide an override and SampleObjectFactories.Add(func) to provide a fallback. Gets the request body samples for a given . The . The samples keyed by media type. Gets the response body samples for a given . The . The samples keyed by media type. Gets the request or response body samples. The . The value indicating whether the sample is for a request or for a response. The samples keyed by media type. Search for samples that are provided directly through . Name of the controller. Name of the action. The parameter names. The CLR type. The formatter. The media type. The value indicating whether the sample is for a request or for a response. The sample that matches the parameters. Gets the sample object that will be serialized by the formatters. First, it will look at the . If no sample object is found, it will try to create one using (which wraps an ) and other factories in . The type. The sample object. Resolves the actual type of passed to the in an action. The . The type. Resolves the type of the action parameter or return value when or is used. The . Name of the controller. Name of the action. The parameter names. The value indicating whether the sample is for a request or a response. The formatters. Writes the sample object using formatter. The formatter. The value. The type. Type of the media. This is used to identify the place where the sample should be applied. Creates a new based on media type. The media type. Creates a new based on media type and CLR type. The media type. The CLR type. Creates a new based on , controller name, action name and parameter names. The . Name of the controller. Name of the action. The parameter names. Creates a new based on media type, , controller name, action name and parameter names. The media type. The . Name of the controller. Name of the action. The parameter names. Gets the name of the controller. The name of the controller. Gets the name of the action. The name of the action. Gets the media type. The media type. Gets the parameter names. Gets the . This represents an image sample on the help page. There's a display template named ImageSample associated with this class. Initializes a new instance of the class. The URL of an image. This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. This class will create an object of a given type and populate it with sample data. Generates an object for a given type. The type needs to be public, have a public default constructor and settable public properties/fields. Currently it supports the following types: Simple types: , , , , , etc. Complex types: POCO types. Nullables: . Arrays: arrays of simple types or complex types. Key value pairs: Tuples: , , etc Dictionaries: or anything deriving from . Collections: , , , , , or anything deriving from or . Queryables: , . The type. An object of the given type. Indicates whether the sample is used for request or response This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class. A custom that reads the API documentation from an XML documentation file. Initializes a new instance of the class. The physical path to XML document. 资讯新闻管理 得到公告 得到彩市新闻 条数 根据新闻类型获取对应条数的数据 条件 根据新闻类型获取对应条数的数据(分页) 条件 得到新闻详情(ID) 新闻id 获取最新热门资讯 条件 获得菜单、和相关的任务(3d,预测等)(包含TDK) LabelModels人物标签的数目 获取人物 LabelModels人物标签的数目 类型 根据新闻类型\lableId获取对应条数的数据(分页)(包含TDK) 条件 根据类型获取相应数目的数据(包含TDK) 条件 得到新闻详情(ID) 条件 所有资讯最新数据 条数 根据类型获取图片路径 类型 图库信息管理 得到菜单数据 得到菜单的合并数据 得到开奖号菜单数据 得到开奖号菜单的合并数据 获得MenuManager的数据 GalleryManager的所有数据 得到菜单的合并数据 获得MenuManager的数据 得到开奖号菜单数据 得到开奖号菜单的合并数据 获取最新图库的数据和根据传入期数获取相应期数数据 期数 是否为最新 获取最新图库的数据和根据传入期数获取相应期数数据(kjh) 期数 年数 是否是最新 获取热门图库 期数补0 获取热门图库(kjh) 期数 年数 菜单数据(图库的) 获取历史图库 根据imgId获取图库的详情 其他管理 获取专题数据(m.55128漆詹专用,其他勿用) Token管理 获取Token 跨域配置 编码 名称 内容 D D K 返回数据集合 菜单数据 菜单名(A、B、C) 图片数据 图片实体 标题 图片Id 编码 菜单名(A、B、C) 年份 图片数据 标题 类型集合 labelID和NewManagerType不能并存 Id集合 类型 D D K label名称 编码 D D K label名称 编码 名称 A custom that reads the API documentation from a collection of XML documentation files. The internal documentation providers for specific files. Construct an instance. The physical paths to the XML documents. Gets the documentation for a subject. The subject to document. Gets the documentation for a subject. The subject to document. Gets the documentation for a subject. The subject to document. Gets the documentation for a subject. The subject to document. Gets the documentation for a subject. The subject to document. Gets the documentation for a subject. The subject to document. Get the first valid result from the collection of XML documentation providers. The method to invoke.