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.

16 lines
438 B
Plaintext

import type { TokenInfo } from '@/stores/user';
import request from '@/utils/request';
import type { CCFlowResponse } from './types';
const { VITE_GLOB_PrivateKey } = import.meta.env
export function UserLogin(userNo: string, orgNo: string) {
return request.post<CCFlowResponse<TokenInfo>>("/WF/API/Port_Login", {
data: {
privateKey: VITE_GLOB_PrivateKey,
userNo,
orgNo
}
})
}