// @ts-ignore
/* eslint-disable */
import request from '../request';

/** 根据域名获取渠道 GET /auth/selectChannelByDomain */
export async function selectChannelByDomain(
	// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
	params: AuthAPI.selectChannelByDomainParams,
	options?: { [key: string]: any },
) {
	return request<AuthAPI.SingleResponseChannelVO>(
		'/auth/selectChannelByDomain',
		{
			method: 'GET',
			params: {
				...params,
			},
			...(options || {}),
		},
	);
}
