手机站ajax调用api

楼主

手机站ajax调用api接口,接口报错;

$.ajax({

              type:"POST",

              dataType:"json",

              url:"/index.php?s=/Api/Lt/alist",

错误如下:

PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0


而pc端调用就一切正常,是咋回事呢

08月24日 23:55 回复(1) 点赞 
共 1 条记录
回复