PDA是android系统,调用金蝶云星空webapi实现仓库收发料,使用读取webapi有些功能无法实现,需要直接读写数据库,读取报错,如图: 用控制台程序测试正常读取 google搜索了一圈, 都需要使用ssl证书才能解决,终于找到不用证书的解决办法,参考地址 c# - "Trust anchor for certification path not found." in a .NET Maui Project trying to contact a local .NET WebApi - Stack Overflow 操作步骤: 在Platforms\Android下新建DangerousTrustProvider.cs文件,如下图 添加命名空间 using System; using Java.Net; using Java.Security; using Java.Security.Cert; using Javax.Net.Ssl; 添加代码 internal class DangerousTrustProvider : Provider { private...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile