mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
修复屏蔽借口报错问题
This commit is contained in:
parent
d169cf348a
commit
6da70b09b1
1 changed files with 3 additions and 3 deletions
|
@ -369,16 +369,16 @@ async function getUpdateInfo() {
|
|||
}
|
||||
|
||||
async function addUserBlock(user_id) {
|
||||
return call('POST', `blocks/${user_id}`);
|
||||
return call('POST', `/blocks/${user_id}`);
|
||||
}
|
||||
|
||||
|
||||
async function deleteUserBlock(user_id) {
|
||||
return call('DELETE', `blocks/${user_id}`);
|
||||
return call('DELETE', `/blocks/${user_id}`);
|
||||
}
|
||||
|
||||
async function getBlockUsers() {
|
||||
return call('GET', `blocks`);
|
||||
return call('GET', `/blocks`);
|
||||
}
|
||||
|
||||
export async function updatePushInfo() {
|
||||
|
|
Loading…
Reference in a new issue