100], [['controller', 'action'], 'string', 'max' => 50], [['querystring', 'remark'], 'string', 'max' => 255], [['ip'], 'string', 'max' => 15], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'uid' => '用户uid', 'title' => '标题', 'controller' => '控制器', 'action' => '动作', 'querystring' => '查询字符串', 'remark' => '备注', 'ip' => 'IP', 'create_time' => '创建时间', 'status' => '状态', ]; } }