mirror of https://github.com/helloxz/imgurl.git
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
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(); |
|
} |
|
} |