290960
超级接口调用,post方式接收不到参数。
回帖数 1
阅读数 1708
发表时间 2020-01-13 19:13:46
您好,超级model通过postman接收post请求参数,但是接收不到,通过追踪代码,发现,
if(strpos($this->server->http_referer, "$httpType://$httpHost") !== 0) $_FILES = $_POST = array();这里对参数进行过滤了。麻烦问下,为什么这里要过滤呢,或者可以通过什么配置可以允许其它请求post访问超级model呢?谢谢。联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com

相关帖子
马云龙 | 最后回帖 2020-09-23 00:30 马云龙
任敏 | 最后回帖 2019-07-15 13:13 石洋洋
杜磊 | 最后回帖 2018-10-29 11:18 石洋洋
Chrysalis | 最后回帖 2016-12-15 10:34 石洋洋
蒋莹凯 | 最后回帖 2019-03-22 18:16 禅道-李锡碧
Roby.Ruan | 最后回帖 2017-06-20 17:08 石洋洋
石洋洋


精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


