1
This commit is contained in:
22
src/api/system/sysTenantServer.js
Normal file
22
src/api/system/sysTenantServer.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import http from '@/utils/http'
|
||||
|
||||
class SysTenantServer {
|
||||
async list() {
|
||||
return http.get('/sys_tenant/index', {})
|
||||
}
|
||||
|
||||
async add(row) {
|
||||
return http.post('/sys_tenant/add', row)
|
||||
}
|
||||
|
||||
async edit(row) {
|
||||
return http.post('/sys_tenant/edit', row)
|
||||
}
|
||||
|
||||
async del(row) {
|
||||
return http.post('/sys_tenant/del', row)
|
||||
}
|
||||
}
|
||||
|
||||
const sysTenantServer = new SysTenantServer()
|
||||
export default sysTenantServer
|
||||
Reference in New Issue
Block a user