Merge pull request '模拟注释' (#3) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/3
This commit is contained in:
luyuan 2020-09-24 15:46:34 +08:00
commit 82b42da569

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)
}