hashids.php 459 B

12345678910111213141516
  1. <?php
  2. /**
  3. * tpAdmin [a web admin based ThinkPHP5]
  4. *
  5. * @author yuan1994 <tianpian0805@gmail.com>
  6. * @link http://tpadmin.yuan1994.com/
  7. * @copyright 2016 yuan1994 all rights reserved.
  8. * @license http://www.apache.org/licenses/LICENSE-2.0
  9. */
  10. return [
  11. // Hashids 的配置项
  12. 'length' => 12, // 加密字符串长度
  13. 'salt' => 'raingads', // 加密盐值
  14. 'alphabet' => '', // 字符仓库,不填写默认为扩展里的字符仓库
  15. ];