关键词:nginx 直接返回json
location /json/ { default_type application/json; add_header Content-Type 'text/html; charset=utf-8'; return 200 '{"code":"6666,"msg":"访问高峰期..."}'; }
关键词:nginx 直接返回json
location /json/ { default_type application/json; add_header Content-Type 'text/html; charset=utf-8'; return 200 '{"code":"6666,"msg":"访问高峰期..."}'; }