//跨域获取java接口访问数据
function _ajax(url,ty,row,FUN){
$.post('api.php',{'u':u,'ty':ty,'row':row},function(data){
FUN(data);
})
}
//调用
_ajax('intelligentDirectory/fitProductMatchOe.do?oe='+txt+'&type_id='+type, 'get', {
'a': 1
}, function(data) {
console.log(data)
})