feat: 更新签到功能,添加 checkInType 参数以支持不同签到类型

This commit is contained in:
2026-01-25 18:00:13 +07:00
parent 6d440055ce
commit 37dab6a506

View File

@@ -34,7 +34,9 @@ function isCheckedIn(day: number) {
}
async function handleSignup() {
await safeClient(client.api.checkIns.post());
await safeClient(client.api.checkIns.post({
checkInType: "app",
}));
loadData();
toastController.create({
message: "签到成功!",