Teamlinker/code/common/routes/user.ts
sx1989827 13013e59c8 fix
2021-08-29 21:46:53 +08:00

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