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
487 B
Plaintext

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