mid] ]; $field = 'access_key_id,access_key_secret,bucket,region,bucket_default_url,end_point,show_url,first_directory'; $data = $this->getOneData($where, $field); if (\think\facade\Request::scheme() == 'http') { $data['bucket_default_url'] = str_replace("https://", "http://", $data['bucket_default_url']); $data['end_point'] = str_replace("https://", "http://", $data['end_point']); $data['show_url'] = str_replace("https://", "http://", $data['show_url']); } return $data; } }