import http from '@/lib/http' const ngx = { build_config(ngxConfig: any) { return http.post('/ngx/build_config', ngxConfig) }, tokenize_config(content: string) { return http.post('/ngx/tokenize_config', {content}) }, format_code(content: string) { return http.post('/ngx/format_code', {content}) } } export default ngx