refactor: project directory structure

This commit is contained in:
0xJacky 2023-11-26 18:59:12 +08:00
parent c1193a5b8c
commit e5a5889931
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
367 changed files with 710 additions and 756 deletions

View file

@ -1,33 +0,0 @@
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})
},
status() {
return http.get('/nginx/status')
},
reload() {
return http.post('/nginx/reload')
},
restart() {
return http.post('/nginx/restart')
},
test() {
return http.post('/nginx/test')
}
}
export default ngx