<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Tecmz; class TecmzUtil { public static function url() { return 'https://api.tecmz.com'; } public static function instance($lGL7d) { $xA643 = modstart_config(); return Tecmz::instance($xA643->getWithEnv("{$lGL7d}AppId"), $xA643->getWithEnv("{$lGL7d}AppSecret")); } public static function asr($AIxhN, $m9bEo) { goto rnprK; K1p64: return $ZrjxR['data']['text']; goto XfRgx; BqLCv: $V2DRS = $xA643->getWithEnv('softApiAsrAppSecret'); goto zcimh; zcimh: if (empty($SgEfE)) { $SgEfE = $xA643->getWithEnv('softApiDefaultAppId'); $V2DRS = $xA643->getWithEnv('softApiDefaultAppSecret'); } goto subBh; subBh: $dhJVb = Tecmz::instance($SgEfE, $V2DRS); goto jsvoM; J3w9J: if ($ZrjxR['code']) { return null; } goto K1p64; I2Yp_: $SgEfE = $xA643->getWithEnv('softApiAsrAppId'); goto BqLCv; rnprK: $xA643 = modstart_config(); goto I2Yp_; jsvoM: $ZrjxR = $dhJVb->asr($AIxhN, base64_encode($m9bEo)); goto J3w9J; XfRgx: } public static function express($AIxhN, $gmNI2) { goto SKHUK; nXxAJ: if ($ZrjxR['code']) { return array(); } goto Pm9bd; jy_Zr: $V2DRS = $xA643->getWithEnv('softApiExpressAppSecret'); goto MsyX1; Pm9bd: return $ZrjxR['data']['list']; goto QckwM; IYuMb: $ZrjxR = $dhJVb->express($AIxhN, $gmNI2); goto nXxAJ; MsyX1: if (empty($SgEfE)) { $SgEfE = $xA643->getWithEnv('softApiDefaultAppId'); $V2DRS = $xA643->getWithEnv('softApiDefaultAppSecret'); } goto Es1HH; Es1HH: $dhJVb = Tecmz::instance($SgEfE, $V2DRS); goto IYuMb; SKHUK: $xA643 = modstart_config(); goto AVSNa; AVSNa: $SgEfE = $xA643->getWithEnv('softApiExpressAppId'); goto jy_Zr; QckwM: } }