MasterWorkerAgreeLogic.php 421 B

123456789101112131415
  1. <?php
  2. namespace app\workerapi\logic;
  3. use app\common\logic\BaseLogic;
  4. use app\common\service\ConfigService;
  5. class MasterWorkerAgreeLogic extends BaseLogic
  6. {
  7. public static function getAgreeByType($type)
  8. {
  9. return [
  10. 'title' => ConfigService::get('master_agreement', $type . '_title', ''),
  11. 'content' => ConfigService::get('master_agreement', $type . '_content', ''),
  12. ];
  13. }
  14. }