You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
541 B
23 lines
541 B
|
8 months ago
|
import { request } from "@/components/service/index";
|
||
|
|
|
||
|
|
export const ExternalAuthControllerService = {
|
||
|
|
signIn: (id: string, password: string) => {
|
||
|
|
return request.post("/api/external-auth/signin", { id, password });
|
||
|
|
},
|
||
|
|
|
||
|
|
add: (token: string, edgePkgInfoVO: string, file: any) => {
|
||
|
|
return request.post("/api/external-auth/add", {
|
||
|
|
token,
|
||
|
|
edgePkgInfoVO,
|
||
|
|
file,
|
||
|
|
});
|
||
|
|
},
|
||
|
|
|
||
|
|
search: (id: string, token: string) => {
|
||
|
|
return request.get("/api/external-auth/edge-search", {
|
||
|
|
id,
|
||
|
|
token,
|
||
|
|
});
|
||
|
|
},
|
||
|
|
};
|