模拟注释

This commit is contained in:
luyuan 2020-09-24 15:46:08 +08:00
parent 09b81fa5ad
commit 04c520dc6c
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -1,10 +1,20 @@
import { get, post } from './base'
import { AxiosPromise } from 'axios'
/**
*
*/
export function getinfo(): Promise<AxiosPromise>{
return get("a")
}
export function seninfo(data: object | undefined): Promise<AxiosPromise>{
/**
*
* @param data
*
*/
export function seninfo(data: object): Promise<AxiosPromise>{
return post("b",data)
}