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.
33 lines
879 B
33 lines
879 B
<?php
|
|
declare(strict_types=1);
|
|
/**
|
|
* 请将该文件放置于config目录
|
|
*/
|
|
return [
|
|
'font_file' => '', //自定义字体包路径, 不填使用默认值
|
|
//文字验证码
|
|
'click_world' => [
|
|
'backgrounds' => []
|
|
],
|
|
//滑动验证码
|
|
'block_puzzle' => [
|
|
'backgrounds' => [], //背景图片路径, 不填使用默认值
|
|
'templates' => [], //模板图
|
|
'offset' => 10, //容错偏移量
|
|
],
|
|
//水印
|
|
'watermark' => [
|
|
'fontsize' => 12,
|
|
'color' => '#ffffff',
|
|
'text' => '我的水印'
|
|
],
|
|
'cache' => [
|
|
'constructor' => [\Illuminate\Support\Facades\Cache::class, 'store'],
|
|
'method' => [
|
|
'get' => 'get', //获取
|
|
'set' => 'set', //设置
|
|
'delete' => 'delete',//删除
|
|
'has' => 'has' //key是否存在
|
|
]
|
|
]
|
|
];
|
|
|