以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  微信接受信息的例子中,把接收到的Content 怎么转换为 string  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=154927)

--  作者:xa139
--  发布时间:2020/9/27 3:46:00
--  微信接受信息的例子中,把接收到的Content 怎么转换为 string
 执行 
so("Content") = "您好, 结果为 " &    Functions.Execute("getsqlid", xo("Content"))

出错信息为
 .NET Framework 版本:4.0.30319.1
Foxtable 版本:2020.5.29.8
错误所在事件:项目,HttpRequest
详细错误信息:
Unable to cast object of type \'System.String\' to type \'Newtonsoft.Json.Linq.JToken\'.


--  作者:有点蓝
--  发布时间:2020/9/27 9:43:00
--  
so("Content") = "您好, 结果为 " &    cstr(Functions.Execute("getsqlid", xo("Content")))