<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace App\Api\Controller; use ModStart\Core\Assets\AssetsUtil; use ModStart\Core\Input\Response; use ModStart\Core\Type\TypeUtil; use ModStart\Core\Util\ConstantUtil; use Module\Doc\Type\DocType; use Module\Doc\Type\DocVisit; use Module\Hire\Type\WorkApplyStatus; use Module\Hire\Type\WorkGenderType; use Module\Hire\Type\WorkHeightType; use Module\Hire\Type\WorkInviteStatus; use Module\Hire\Type\WorkSalaryCashPeriod; use Module\Hire\Type\WorkSalaryPeriod; use Module\Hire\Type\WorkSalaryType; use Module\Hire\Type\WorkStatus; use Module\Member\Auth\MemberUser; use Module\Member\Auth\MemberVip; use Module\Member\Type\Education; use Module\Member\Type\Gender; use Module\Member\Type\MemberMessageStatus; use Module\MemberCert\Type\CorpStatus; use Module\MemberCert\Type\IndividualStatus; use Module\NoteSns\Type\NoteEditorType; use Module\Question\Api\Controller\QuestionTagController; use Module\Shop\Type\GoodsSaleStatus; use Module\Vendor\Cache\LazyValueUtil; use Module\Vendor\Support\ResponseCodes; class ConfigController extends BaseController { public function constant() { goto mkhpJ; Oz5t_: $pVRpW['WorkInviteStatus'] = TypeUtil::dump(WorkInviteStatus::class); goto EvmRX; pEUhK: $pVRpW['WorkGenderType'] = TypeUtil::dump(WorkGenderType::class); goto zgqR1; h3Jkl: $pVRpW['WorkApplyStatus'] = TypeUtil::dump(WorkApplyStatus::class); goto pEUhK; mkhpJ: $pVRpW = array(); goto h3Jkl; z09Ya: $pVRpW['IndividualStatus'] = TypeUtil::dump(IndividualStatus::class); goto g7UMU; z4csA: $U_eLj[] = '// This file is created by ' . action('\\' . __CLASS__ . '@constant') . '
'; goto I0KyO; EYPdE: $pVRpW['CorpStatus'] = TypeUtil::dump(CorpStatus::class); goto z09Ya; OiUpM: $pVRpW['Gender'] = TypeUtil::dump(Gender::class); goto Xo43h; I0KyO: foreach ($pVRpW as $uAO03 => $DoMOC) { $U_eLj[] = "export const {$uAO03} = " . json_encode($DoMOC, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT) . ';'; } goto G1nqH; Xo43h: $U_eLj = array(); goto z4csA; YPU7l: $pVRpW['WorkSalaryPeriod'] = TypeUtil::dump(WorkSalaryPeriod::class); goto pgSef; zgqR1: $pVRpW['WorkHeightType'] = TypeUtil::dump(WorkHeightType::class); goto Oz5t_; g7UMU: $pVRpW['Education'] = TypeUtil::dump(Education::class); goto OiUpM; G1nqH: return Response::raw(join('
', $U_eLj), array('Content-Type' => 'text/plain')); goto rhGrk; EvmRX: $pVRpW['WorkSalaryCashPeriod'] = TypeUtil::dump(WorkSalaryCashPeriod::class); goto YPU7l; pgSef: $pVRpW['WorkSalaryType'] = TypeUtil::dump(WorkSalaryType::class); goto Tomih; Tomih: $pVRpW['WorkStatus'] = TypeUtil::dump(WorkStatus::class); goto EYPdE; rhGrk: } public function app() { goto vrq45; ocRSO: if (MemberUser::id()) { goto vHHVI; akdQy: $ehT8H['user']['id'] = $oy0ks['id']; goto MG8Gk; soZxC: $ehT8H['user']['vip'] = MemberVip::get(); goto okm0I; vHHVI: $oy0ks = MemberUser::user(); goto akdQy; J51Eh: $ehT8H['user']['email'] = $oy0ks['email']; goto d2s6A; okm0I: $ehT8H['user']['vipExpire'] = $oy0ks['vipExpire']; goto JSokV; GIYmo: $ehT8H['user']['nickname'] = empty($oy0ks['nickname']) ? null : $oy0ks['nickname']; goto qVr2m; qVr2m: if (empty($ehT8H['user']['nickname'])) { $ehT8H['user']['nickname'] = $ehT8H['user']['username']; } goto AEuDE; WbjMr: $ehT8H['user']['username'] = $oy0ks['username']; goto GIYmo; f9YTB: $ehT8H['user']['avatarMedium'] = AssetsUtil::fixFull($oy0ks['avatarMedium'] ? $oy0ks['avatarMedium'] : $ehT8H['user']['avatar']); goto o9ohJ; MG8Gk: $ehT8H['user']['avatar'] = AssetsUtil::fixFull($oy0ks['avatar'] ? $oy0ks['avatar'] : $ehT8H['user']['avatar']); goto f9YTB; o9ohJ: $ehT8H['user']['avatarBig'] = AssetsUtil::fixFull($oy0ks['avatarBig'] ? $oy0ks['avatarBig'] : $ehT8H['user']['avatar']); goto WbjMr; AEuDE: $ehT8H['user']['phone'] = $oy0ks['phone']; goto BgUfm; BgUfm: $ehT8H['user']['phoneVerified'] = !!$oy0ks['phoneVerified']; goto J51Eh; d2s6A: $ehT8H['user']['emailVerified'] = !!$oy0ks['emailVerified']; goto soZxC; JSokV: } goto WPdf1; uFtDX: $izIH3 = date('Ymd_His', filemtime($this->viewRealpath($otsfo))); goto J7Jp3; XaFLz: $ehT8H['user'] = array('id' => 0, 'avatar' => AssetsUtil::fixFull('asset/image/avatar.png'), 'avatarMedium' => AssetsUtil::fixFull('asset/image/avatar.png'), 'avatarBig' => AssetsUtil::fixFull('asset/image/avatar.png'), 'nickname' => '', 'username' => '', 'phone' => '', 'phoneVerified' => false, 'email' => '', 'emailVerified' => false, 'vip' => null, 'vipExpire' => null); goto ocRSO; jIdWO: $ehT8H['hashLazyValue'] = array(); goto XaFLz; J7Jp3: $ehT8H['hashPC'] = 'v' . $izIH3; goto jIdWO; vrq45: $ehT8H = array(); goto a6HF2; WPdf1: return Response::jsonSuccessData($ehT8H); goto rumH_; a6HF2: list($otsfo, $QKfHM) = $this->viewPaths('index'); goto uFtDX; rumH_: } }