feat: 更新签到功能,添加 checkInType 参数以支持不同签到类型
This commit is contained in:
@@ -34,7 +34,9 @@ function isCheckedIn(day: number) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function handleSignup() {
|
async function handleSignup() {
|
||||||
await safeClient(client.api.checkIns.post());
|
await safeClient(client.api.checkIns.post({
|
||||||
|
checkInType: "app",
|
||||||
|
}));
|
||||||
loadData();
|
loadData();
|
||||||
toastController.create({
|
toastController.create({
|
||||||
message: "签到成功!",
|
message: "签到成功!",
|
||||||
|
|||||||
Reference in New Issue
Block a user