feat: add Top Up Distribute Admin

This commit is contained in:
2021-12-16 16:52:42 +07:00
parent 5ce366f638
commit 0765b6027d
3 changed files with 54 additions and 28 deletions

View File

@@ -76,6 +76,16 @@ export class Transaction {
await this.getData();
return response;
}
async distribute(data) {
const response = await http.post('/transaction/distribute').send(data);
return response;
}
async distributeAdmin(data) {
const response = await http.post('/transaction/distribute-admin').send(data);
return response;
}
}