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