14 lines
323 B
Python
14 lines
323 B
Python
|
from webdav3.client import Client
|
||
|
|
||
|
|
||
|
# todo : 需要的参数有同步类型
|
||
|
class Sync:
|
||
|
"""
|
||
|
:param type 同步的账号类型
|
||
|
"""
|
||
|
|
||
|
def __init__(self, type):
|
||
|
super(Sync, self).__init__()
|
||
|
types = ['NextCloud', 'JianGuoYun', 'WebDav']
|
||
|
# 根据不同的账号类型调用不同的方式
|