resp_data = cjson.encode(res). end. 主要因为本来json里面[]是表示Array的,{}是表示Table的,但是lua默认就是Table,也只有table,没有Array。
確定! 回上一頁