Manage.php 339 B

12345678910111213141516
  1. <?php namespace Upload\Lib;
  2. use Dever;
  3. class Manage
  4. {
  5. # 文件表按照月份分区
  6. public function getFileField()
  7. {
  8. return array
  9. (
  10. 'type' => 'range',
  11. 'field' => 'cdate',
  12. 'value' => 'date("Y-m", strtotime("+1 month"))'
  13. );
  14. return $type;
  15. }
  16. }