更新API说明文档
This commit is contained in:
@@ -54,6 +54,7 @@ app.put('/api/customers/:id', auth, checkPermission('customer', 'update'),
|
||||
app.delete('/api/customers/:id', auth, checkPermission('customer', 'delete'), customers.remove)
|
||||
|
||||
// ============ 员工管理 /api/employees ============
|
||||
app.get('/api/employees/simple', auth, employees.simpleList)
|
||||
app.get('/api/employees', auth, checkPermission('employee', 'read'), employees.list)
|
||||
app.get('/api/employees/:id', auth, checkPermission('employee', 'read'), employees.detail)
|
||||
app.post('/api/employees', auth, checkPermission('employee', 'create'), employees.create)
|
||||
|
||||
Reference in New Issue
Block a user