html和js文件是写在本地打包在APP里面的,在APP中直接用路径跳转,没有部署在服务器,之前接口域名是http,用ajax请求服务端数据,一切正常。代码如下。
$.ajax({
type : param.type,
url : url,
data : param.data,
async : true,
success : function(data) {
},
error :function( ) {}
})
现在服务端接口地址改成https了,我直接改url请求不到服务器,jqXHR.status=0。不知道要咋处理了。求教
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。