u
This commit is contained in:
@@ -12,6 +12,13 @@ export const supplier = {
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/** GET /api/supplier/:id → { supplier: Supplier } */
|
||||
// #region GET /api/supplier/:id — get
|
||||
get(id) {
|
||||
return http(`/api/supplier/${encodeURIComponent(id)}`);
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/supplier
|
||||
* Body: { name } — empty name ⇒ 400 Name required.
|
||||
|
||||
Reference in New Issue
Block a user