You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bsdgy-front/src/services/account/AccountManagement.js

34 lines
567 B
JavaScript

6 years ago
/**
* 账号管理
* @author jinchaofan
* @date 2020/2/18
*/
import http from '../CommonHttp'
/**
* 查询账号
* @param params
* @param call
* @returns {Promise<any | never>}
*/
export function listAccountInfoApi(params, call) {
return http.post('account/info/list', params).then(call);
}
/**
* 删除账号
* @param params
* @param call
* @returns {Promise<any | never>}
*/
export function removeAccountApi(params, call) {
return http.post('account/remove', params).then(call);
}
export default {
listAccountInfoApi,
removeAccountApi,
}