29 lines
976 B
C#
29 lines
976 B
C#
using Core.WxYunService.Model;
|
||
using System.ServiceModel;
|
||
using System.ServiceModel.Web;
|
||
|
||
namespace Core.WxYunService
|
||
{
|
||
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IWxMessageSvr”。
|
||
[ServiceContract]
|
||
public interface IWxMessageSvr
|
||
{
|
||
[OperationContract]
|
||
[WebInvoke(Method = "*",
|
||
RequestFormat = WebMessageFormat.Json,
|
||
ResponseFormat = WebMessageFormat.Json,
|
||
BodyStyle = WebMessageBodyStyle.Bare,
|
||
UriTemplate = "UpgradeVersion/Get?code={code}")]
|
||
JsonResult<UpgradeVersion> UpgradeVersionGet(string code);
|
||
|
||
[OperationContract]
|
||
[WebInvoke(Method = "*",
|
||
RequestFormat = WebMessageFormat.Json,
|
||
ResponseFormat = WebMessageFormat.Json,
|
||
BodyStyle = WebMessageBodyStyle.Bare,
|
||
UriTemplate = "ConfigSet/Get?code={code}")]
|
||
JsonResult<string> ConfigSetGet(string code);
|
||
}
|
||
|
||
}
|