เเก้ type SupportIssueCategory
เเละ ตั้งค่า Socket .ใหม่
This commit is contained in:
parent
b4c4325cd1
commit
7a579ab4cc
4 changed files with 13 additions and 10 deletions
|
|
@ -37,8 +37,10 @@ export interface SupportIssue {
|
|||
}
|
||||
|
||||
export interface SupportIssueCategory {
|
||||
id: string;
|
||||
name: string;
|
||||
result: {
|
||||
id: string;
|
||||
name: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface SupportMessageResponse {
|
||||
|
|
@ -69,10 +71,3 @@ export interface SupportIssueMessage {
|
|||
read: boolean;
|
||||
issueId: string;
|
||||
}
|
||||
|
||||
export type {
|
||||
SupportMessageStatus,
|
||||
SupportMessageResponse,
|
||||
SupportIssueResponse,
|
||||
SupportStatusUser,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ export const useSupportStore = defineStore("supportServiceStore", () => {
|
|||
}, 150);
|
||||
}
|
||||
|
||||
const socket = io("http://192.168.1.10:3000/", {
|
||||
const socket = io(config.API.supportSocket, {
|
||||
auth: { token: keycloak.token },
|
||||
autoConnect: false,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue