mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 01:49:30 +08:00
更换 用户信息 & 提醒接口 到v2 API
This commit is contained in:
parent
a52ede2fcb
commit
f222c159d9
1 changed files with 3 additions and 3 deletions
|
@ -140,7 +140,7 @@ async function syncSplash() {
|
|||
}
|
||||
|
||||
async function getSelfInfo() {
|
||||
return call('GET', '/users/my');
|
||||
return callV2('GET', '/users/my');
|
||||
}
|
||||
|
||||
async function getSelfInfoByStore() {
|
||||
|
@ -148,7 +148,7 @@ async function getSelfInfoByStore() {
|
|||
}
|
||||
|
||||
async function getUserInfo(id) {
|
||||
return call('GET', '/users/' + id)
|
||||
return callV2('GET', '/users/' + id)
|
||||
}
|
||||
|
||||
async function updateUserIcon(photoUri) {
|
||||
|
@ -267,7 +267,7 @@ async function getMessages() {
|
|||
}
|
||||
|
||||
async function getMessagesHistory() {
|
||||
return call('GET', '/tip/history');
|
||||
return callV2('GET', '/tips/history');
|
||||
}
|
||||
|
||||
async function deleteMessage(ids) {
|
||||
|
|
Loading…
Reference in a new issue