mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
🐛 修复 OneDrive 教育版和部分国际版无法正常获取文件的 BUG
This commit is contained in:
@@ -29,11 +29,11 @@ import java.util.List;
|
||||
@Service
|
||||
public class OneDriveService {
|
||||
|
||||
private static final String DRIVER_INFO_URL = "https://graph.microsoft.com/v1.0/drive";
|
||||
private static final String DRIVER_INFO_URL = "https://graph.microsoft.com/v1.0/me/drives";
|
||||
|
||||
private static final String DRIVER_ROOT_URL = "https://graph.microsoft.com/v1.0/drive/root/children";
|
||||
private static final String DRIVER_ROOT_URL = "https://graph.microsoft.com/v1.0/me/drive/root/children";
|
||||
|
||||
private static final String DRIVER_ITEMS_URL = "https://graph.microsoft.com/v1.0/drive/root:{path}:/children";
|
||||
private static final String DRIVER_ITEMS_URL = "https://graph.microsoft.com/v1.0/me/drive/root:{path}:/children";
|
||||
|
||||
private static final String AUTHENTICATE_URL = "https://login.microsoftonline.com/common/oauth2/v2.0/token";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user