Home >Backend Development >PHP Tutorial > thinkphp ajaxreturn 返回数据有关问题

thinkphp ajaxreturn 返回数据有关问题

WBOY
WBOYOriginal
2016-06-13 12:39:091243browse

thinkphp ajaxreturn 返回数据问题

thinkphp真用着不顺手,老有问题,为什么thinkphp ajaxreturn 返回的是json格式的字符串,而不是json对象。本地是返回对象,服务器上是返回字符串,求解……

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn