...
|
...
|
@@ -3,8 +3,6 @@ |
|
|
namespace app\api\controller;
|
|
|
|
|
|
use app\common\controller\Api;
|
|
|
use app\common\controller\Resource;
|
|
|
use tinymeng\code\Generate;
|
|
|
mb_internal_encoding("UTF-8");
|
|
|
/**
|
|
|
* 示例接口
|
...
|
...
|
@@ -69,10 +67,6 @@ class Demo extends Api |
|
|
*/
|
|
|
public function test3()
|
|
|
{
|
|
|
$filepath = ROOT_PATH.'/uploads/barimages/20230317/00000029.png';
|
|
|
$filename = 'http://rramxwmk1.hb-bkt.clouddn.com/campus1/uploads/20230317/';
|
|
|
$qinu = $this->qiniu($filepath,$filename);
|
|
|
$this->success('上传成功',$qinu);
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|