钱包修改

This commit is contained in:
2020-11-18 15:18:40 +08:00
parent b339604347
commit cfc2b60f71
3 changed files with 9 additions and 8 deletions

View File

@@ -390,8 +390,8 @@ export async function getaccountinfo(data?: any){
/**
* 账户编辑
*/
export async function editaccount(data?: any){
const res=await put<Liveaddrule>('wallect/'+data);
export async function editaccount( id: any,data?: any){
const res=await put<Liveaddrule>('wallect/' +id ,data);
if(res.code==0){
message.success("修改成功")
}