1
This commit is contained in:
19
admin/src/api/subscription/token_server.js
Normal file
19
admin/src/api/subscription/token_server.js
Normal file
@@ -0,0 +1,19 @@
|
||||
class TokenServer {
|
||||
async page(row) {
|
||||
return window.framework.http.post("/biz_token/page", row);
|
||||
}
|
||||
|
||||
async create(row) {
|
||||
return window.framework.http.post("/biz_token/create", row);
|
||||
}
|
||||
|
||||
async revoke(row) {
|
||||
return window.framework.http.post("/biz_token/revoke", row);
|
||||
}
|
||||
|
||||
async exportRows(row) {
|
||||
return window.framework.http.post("/biz_token/export", row);
|
||||
}
|
||||
}
|
||||
|
||||
export default new TokenServer();
|
||||
Reference in New Issue
Block a user