mirror of
https://github.com/Teamlinker/Teamlinker.git
synced 2025-06-03 03:00:17 +00:00
19 lines
523 B
TypeScript
19 lines
523 B
TypeScript
import { ECommon_Services } from './../types';
|
|
import { ICommon_Http_User_Test_Res } from "./userRes";
|
|
import {ECommon_HttpApi_Method, ICommon_HttpApi} from "./types"
|
|
const api={
|
|
baseUrl:"/user",
|
|
service:ECommon_Services.User,
|
|
routes:{
|
|
test:{
|
|
method:ECommon_HttpApi_Method.POST,
|
|
path:"/test",
|
|
req:<{
|
|
name:string,
|
|
age:number
|
|
}>{},
|
|
res:<ICommon_Http_User_Test_Res>{},
|
|
}
|
|
}
|
|
}
|
|
export=api |