<?php

namespace Tool\LoadTemplate\Logic;

use Game\Constant\ConstTemplate\TemplateClubStore;
use Tool\LoadTemplate\ILogic;
use Tool\LoadTemplate\Util;

class ClubStoreLogic extends ILogic
{
    public function dealKey($key, $val, &$title): bool
    {
        $title [$key] = $val;
        return true;
    }

    /**
     * @param $row
     * @return bool
     * 处理数据 对UseId和TimeLimit字段检查
     */
    public function dealRow(&$row): bool
    {
        $row[TemplateClubStore::LimitNum] = Util::getFormatArray($row[TemplateClubStore::LimitNum]);
        return true;
    }

    public function dealFile(&$file): bool
    {
        return true;
    }

    public function getTidyList(): array
    {
        return array();
    }
}