1234567891011121314151617 |
- #!/usr/bin/python3.6
- # -*- coding: utf-8 -*-
- # @Time : 2021/3/18 12:00
- # @Author : lijunliang
- # @Email : lijunliang@topnet.net.cn
- # @File : oss_test.py.py
- # @Software: PyCharm
- from util.oss_file import OssServeClient
- if __name__ == '__main__':
- import uuid
- id = str(uuid.uuid1())
- #print(id)
- osc = OssServeClient()
- ret = osc.upload_text_file(id,"mytest")
- print(ret)
|