2013-05-08 58 views

回答

1

它似乎是你的JSON格式是正确的,但它不应该有它的XML标签。不要使用WebMethod。用这样的标签调用方法

[WebInvoke(Method = "GET", 
     RequestFormat = WebMessageFormat.Json, 
     ResponseFormat = WebMessageFormat.Json 
    )] 
+0

好的,谢谢。我试试看。 – 2013-05-08 12:05:14