20 lines
632 B
C#
20 lines
632 B
C#
using System.ServiceModel;
|
||
using System.ServiceModel.Web;
|
||
|
||
namespace ZXDService
|
||
{
|
||
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IWeWorkService”。
|
||
[ServiceContract]
|
||
public interface IWeWorkService
|
||
{
|
||
[OperationContract]
|
||
[WebInvoke(Method = "*",
|
||
ResponseFormat = WebMessageFormat.Json,
|
||
BodyStyle = WebMessageBodyStyle.Bare,
|
||
UriTemplate = "AssignStatus/Set?content={content}&clientid={clientid}&sign={sign}")]
|
||
string SetAssignStatus(string content, string clientid, string sign);
|
||
|
||
|
||
}
|
||
}
|