<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Res\Util; class UrlUtil { public static function category($xWmkj) { goto VmFgh; De3me: $tKN9l = $xWmkj; goto vtCTL; Rn3zp: return modstart_web_url('res/list-' . $tKN9l); goto ZIJHR; vtCTL: if (is_array($tKN9l)) { $tKN9l = $tKN9l['id']; } goto Rn3zp; VmFgh: if (empty($xWmkj)) { return modstart_web_url('res/list'); } goto De3me; ZIJHR: } public static function search($iNxEa = '') { goto r1LHk; XZ7eF: if (!empty($iNxEa)) { $qOrzw['keywords'] = $iNxEa; } goto LPjS6; LPjS6: return modstart_web_url('res/search', $qOrzw); goto g4b_l; r1LHk: $qOrzw = array(); goto XZ7eF; g4b_l: } public static function member($g3uu_) { goto wlISn; wlISn: if (empty($g3uu_)) { return modstart_web_url('res/member'); } goto OWl7u; HLqfC: return modstart_web_url('res/member-' . $W7qAy); goto JE9B5; OWl7u: $W7qAy = $g3uu_; goto YDdb4; YDdb4: if (is_array($W7qAy)) { $W7qAy = $W7qAy['id']; } goto HLqfC; JE9B5: } public static function show($NhJrG) { goto MrX7d; hOnX1: if (is_array($Btk2J)) { $Btk2J = $Btk2J['hash']; } goto pDB7B; bnzco: $Btk2J = $NhJrG; goto hOnX1; pDB7B: return modstart_web_url('res/' . $Btk2J); goto mtyQV; MrX7d: if (empty($NhJrG)) { return modstart_web_url('res'); } goto bnzco; mtyQV: } }