Merge branch 'master' of http://git.luyuan.tk/luyuan/beelink into zj

This commit is contained in:
asd
2020-10-26 10:45:10 +08:00
6 changed files with 32 additions and 8 deletions

View File

@@ -933,4 +933,14 @@ export async function getlivest() {
} else {
return false;
}
}
export async function feedback(text: string) {
const res = await post<any>("feedback",{desc:text})
// todo 返回参数错误
if(res.code == 0){
message.success(res.msg)
}else{
message.error(res.msg)
}
}