You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
511 B
Plaintext

import type { User } from '../store/userStore'
import request from '../utils/request'
const { VITE_GLOB_PrivateKey } = import.meta.env
export function Port_Login(userNo: string, orgNo: string) {
return request.get<unknown, User>('/WF/API/Port_Login', {
params: {
privateKey: VITE_GLOB_PrivateKey as string,
userNo,
orgNo
}
})
}
export function Port_Logout(userNo: string) {
return request.get<unknown, null>('/WF/API/Port_LoginOut', {
params: {
userNo
}
})
}