wuxuejian / dcat-qiniu-upload
Description...
Installs: 8
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=7.4.0
- dcat/laravel-admin: ~2.0
This package is auto-updated.
Last update: 2025-03-12 12:51:13 UTC
README
Dcat表单组件file的升级版 ,支持直传文件到七牛
在filesystem里面增加配置storage
'qiniu_d' => [ 'driver' => 'qiniu', 'access_key' => env('QINIU_ACCESS_KEY', ''), 'secret_key' => env('QINIU_SECRET_KEY', ''), 'bucket' => env('QINIU_BUCKET', ''), 'domain' => env('QINIU_DOMAIN', ''), // or host: https://xxxx.clouddn.com //ECN华东 NCN华北 SCN华南 NA北美 ASG东南亚 'region' => env('QINIU_REGION', 'ECN'), //地区 'notify_url'=> '', //持久化处理回调地址 'url' => env('QINIU_DOMAIN', ''), // 填写文件访问根url ],
useage
$form->filePlus('column', '视频')->qiniu('qiniu_d');