问题描述
A服务调用B服务的api,提示跨域调用失败。


回复
1、如果是用平台的【调用webapi】规则,平台已经自动处理跨域了。
2、如果是ajax,要固定加参数。
银弹谷零代码平台跨域调用API处理
代码:
KaTeX parse error: Expected group after '_' at position 68: …p', data:{ "_̲v3CrossDomainRequest$_" : true
},
jsonpCallback:‘callfunc’,
success: function (result) {
//请求成功后处理逻辑
debugger;
}
});

相关文章:

  • 2022-12-23
  • 2021-10-04
  • 2021-12-13
  • 2021-07-14
  • 2021-08-06
  • 2022-12-23
  • 2021-11-25
猜你喜欢
  • 2021-09-29
  • 2021-04-26
  • 2021-05-21
  • 2021-10-01
  • 2021-12-31
  • 2021-07-29
  • 2021-11-12
相关资源
相似解决方案