using CRM.Core.DTO.Res; using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Web; namespace ZXDService { // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IRegCountService”。 [ServiceContract] public interface IRegCountService { [OperationContract] void DoWork(); [OperationContract] [WebInvoke(Method = "*", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "getRegData?app={app}&plat={plat}&version={version}&channel={channel}&startday={startday}&endday={endday}")] UPJsonResult> GetRegCountData(string app, string plat, string version, string channel, string startday, string endday); } }