import { ywtRequest } from "./request";

export async function ywtAuth(data) {
	const [err, res] = await ywtRequest({
		url: "/auth/bind",
		method: "post",
		data,
	});
	if (err || !res) return [err, null];
	return [null, res];
}
