package api import ( "gitee.ltd/lxh/txim/api/param" "gitee.ltd/lxh/txim/common" ) // AccountImport 导入单个账号 func AccountImport(r *param.AccountImportReq) (*param.AccountImportRes, error) { a := param.AccountImportRes{} err := Api(common.AccountImport, r, &a) return &a, err } // AccountCheck 检查账号是否存在 func AccountCheck(r *param.AccountCheckReq) (*param.AccountCheckRes, error) { a := param.AccountCheckRes{} err := Api(common.AccountCheck, r, &a) return &a, err } // AccountDelete 账号删除 func AccountDelete(r *param.AccountDeleteReq) (*param.AccountDeleteRes, error) { a := param.AccountDeleteRes{} err := Api(common.AccountDelete, r, &a) return &a, err }