ImgURL是一个简单、纯粹的图床程序,让个人图床多一个选择。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
524 B

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class B2up extends CI_Controller{
protected $b2;
//构造函数
public function __construct(){
parent::__construct();
//加载类
$this->load->library('backblaze');
}
public function test(){
$this->backblaze->b2_authorize_account();
}
public function test2(){
$this->backblaze->b2_get_upload_url();
}
public function test3(){
$this->backblaze->upload();
}
}