You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
wastesortingserver/api/JsonResponse.php

10 lines
144 B

<?php
//返回json
function json_res($json_str)
{
// 设置json响应头
header("Content-type:application/json");
echo $json_str;
}