<?php
namespace app\workerapi\logic;
use app\common\logic\BaseLogic;
use app\common\service\ConfigService;

class MasterWorkerAgreeLogic extends BaseLogic
{
    public static function getAgreeByType($type)
    {
        return [
            'title' => ConfigService::get('master_agreement', $type . '_title', ''),
            'content' => ConfigService::get('master_agreement', $type . '_content', ''),
        ];
    }
}