wslibs/cunchuio

Microsoft Cloud Storage SDK

0.0.4 2020-09-16 02:17 UTC

README

使用方法

1.初始化参数(全局有效)

CunChuIO::getConfig(array(
    "storage_list" => '',
    "accountname" => '',
    "accountkey" => '',
    "storename" => '',
    "rongqi" => '',
));

2.上传文件

/*
* 云端存储地址
* 要上传至云端的文件二进制内容
*/

CunChuIO::uploadContent("/test/test.jpg","content");