模拟注释
This commit is contained in:
parent
09b81fa5ad
commit
04c520dc6c
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user