deituiCMS使用手册之阿里云oss接入
查看视频教程或者获取有关《deituiCMS使用手册》更多信息

阿里云oss接入

  1. 后台开放平台添加oss信息
    image.png

  2. config/config.php 修改oss相关信息



    //UPLOAD_OSS--- aliyun/qiniu/upyun/0 不分离上传设为0
    define("UPLOAD_OSS","aliyun");
    define("OSS_BUCKET","music-haicms");
    define("IMAGES_SITE","https://music-haicms.oss-cn-hangzhou.aliyuncs.com/");