由于论坛限制,我将代码内容写到了text文件中
以下内容是专门发给狐狸爸爸,有点蓝浏览
[此贴子已经被作者于2023/9/15 10:08:50编辑过]
应用这个dll时,这个命名空间 和 空间别名 怎么去命名呢?
Public Shared Function getSignJson(ByVal jsParam As JObject, ByVal signKey As String) As JObject

此主题相关图片如下:微信图片_20230915102359.png
以下内容是专门发给有点蓝,狐狸爸爸浏览
转换后,在命令窗口测试报错
[此贴子已经被作者于2023/9/21 10:45:02编辑过]
Dim jsParam As New JObject()
jsParam.Add("appId", "8edd25b7f74f44a7bff1e9f2af49c930")
jsParam.Add("taskId", "20181109000000")
jsParam.Add("companyCode", "0144")
Dim dataJson As New JObject()
dataJson.Add("sourceNo", "14982119232461189")
jsParam.Add("dataJson", dataJson)
msgbox(reabamsdkopenapi.sign.getSignJson(jsParam, "285e11c1e83a4094b35cc3cf320ad820"))
********
[此贴子已经被作者于2023/9/21 10:45:27编辑过]
参考这里设置:
http://foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=137401&replyID=11825&skin=1
……
<bindingRedirect oldVersion="4.0.20191.359" newVersion="4.0.20183.338" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json"
publicKeyToken="30ad4fe6b2a6aeed"
culture="neutral" />
<bindingRedirect oldVersion="4.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
……