【ThinkPHP】variable type error: array

版权声明: https://blog.csdn.net/weixin_41728561/article/details/85298806

一开始的写法:

return show(1,'success',$major);

修改之后的写法

return json(show(1,'success',$major));

猜你喜欢

转载自blog.csdn.net/weixin_41728561/article/details/85298806
今日推荐