ระบบจัดการประเภทของปัญหา
This commit is contained in:
parent
c6b9236a04
commit
b4c4325cd1
11 changed files with 813 additions and 77 deletions
|
|
@ -1,14 +1,22 @@
|
|||
import env from "../index";
|
||||
|
||||
export const supportIssue = `${env.API_SUPPORT_URI}/issue`;
|
||||
export const supportCategory = `${env.API_SUPPORT_URI}/Issue-category`;
|
||||
export const supportCategoryAction = (id: string) =>
|
||||
`${env.API_SUPPORT_URI}/Issue-category/${id}`;
|
||||
export const supportIssueChangeStatus = (id: string) =>
|
||||
`${env.API_SUPPORT_URI}/issue/${id}`;
|
||||
export const supportMessage = (id: string) =>
|
||||
`${env.API_SUPPORT_URI}/issue/${id}/message`;
|
||||
|
||||
export const supportMessageStatus = (id: string) =>
|
||||
`${env.API_SUPPORT_URI}/issue/${id}/message-status?issueId`;
|
||||
`${env.API_SUPPORT_URI}/issue/${id}/message-status`;
|
||||
|
||||
export default {
|
||||
supportIssue,
|
||||
supportCategory,
|
||||
supportMessage,
|
||||
supportMessageStatus,
|
||||
supportIssueChangeStatus,
|
||||
supportCategoryAction,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue