Category: ThinkPHP 3.2.3 Beta

编辑上传文件方法upload 0

Integrate the PHP-SDK2.0.4 of Alibaba Cloud OSS in OneThink (ThinkPHP3.2.3) to realize the local file upload process

浏览量: 5 1. SDK installation github address: https://github.com/aliyun/aliyun-oss-php-sdk 2. Copy aliyun-oss-php-sdk-master\src\oss to passport.hmwis.com\thinkphp\library\vendor\oss, as shown in Figure 1 and 2 3. Register a new namespace OSS and edit the file passport.hmwis.com\application\common\conf\config.php, as shown in...