Sign in

colleague / study-project · Files

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • study-project
  • trunk
  • Sign
  • Common
  • Sql
  • DefaultData.class.php
  • init
    d12db008
    马雄飞 authored
    2018-08-27 14:37:34 +0800  
    Browse Code »
DefaultData.class.php 489 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<?php
/**
 * 应用安装时的初始数据文件
 * data.php
 * $Author$
 */

namespace Common\Sql;

class DefaultData
{

    /**
     * 安装数据
     * @author
     */
    public static function installData()
    {

        return [
            'sign_config_default' => [
                [
                    'cycle' => 7,
                    'integral_rules' => 'a:7:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;}',
                ],
            ],
        ];
    }
}