odoo Controller接口开发 POST请求的跨域问题解决方法
odoo Controller接口开发 POST请求的跨域问题解决方法
1、odoo Controller接口开发,前端在请求的时候会发生跨域问题,报错信息如下:
Function declared as capable of handling request of type ‘json’ but called with a request of type ‘http’
2、解决方法如下:
odo...
原创
2019-07-10 10:47:07 ·
2466 阅读 ·
2 评论