跨域测试Demo 发表于 2020-02-25 12345678910111213141516171819202122232425262728293031<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title></head><body> <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script> <script> $(function(){ $.ajax({ url: 'http://localhost:8092/selectProductInfo', type: 'POST', datatype: 'json', data: { pageSize: '20', pageIndex: '1', v: '1.0.0' }, success: res => { console.log(res) }, errror: err => { console.error(err) } }) }); </script></body></html> 赏个🍗吧 打赏 微信支付 支付宝 本文作者: Keeep 本文链接: http://Keeep.coding.me/blog/跨域测试Demo/ 版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 许可协议。转载请注明出处!