https请求后台,host参数不管写什么,返回结果都是success,内容为configMTLS:errMsg = configMTLS:ok,code = 0,求教各位大佬,帮忙解决
aaa(){
uni.configMTLS({
certificates: [{
'host': '192.168.191.2',
'client': '/static/client.p12',
'clientPassword': '123456',
'server': ['/static/server.cer']
}],
success (res) {
var description = "";
for (var i in res) {
description += i + " = " + res[i] + "\n";
}
console.log('configMTLS:' + description)
}
});
}
1 个回复
木叶96
请问这个问题后来怎么解决的