<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Tecmz; class TecmzUtil { public static function url() { return 'https://api.tecmz.com'; } public static function instance($F02oS) { $ShJO2 = modstart_config(); return Tecmz::instance($ShJO2->getWithEnv("{$F02oS}AppId"), $ShJO2->getWithEnv("{$F02oS}AppSecret")); } public static function asr($zpMuS, $wdd4z) { goto qTAK0; sdB6r: return $om_hh['data']['text']; goto N7j6h; kZg_1: $om_hh = $aTNjZ->asr($zpMuS, base64_encode($wdd4z)); goto WQRLx; oz4CY: if (empty($h0xAH)) { $h0xAH = $ShJO2->getWithEnv('softApiDefaultAppId'); $Igyba = $ShJO2->getWithEnv('softApiDefaultAppSecret'); } goto vmCc0; qTAK0: $ShJO2 = modstart_config(); goto i25DS; vmCc0: $aTNjZ = Tecmz::instance($h0xAH, $Igyba); goto kZg_1; WQRLx: if ($om_hh['code']) { return null; } goto sdB6r; i25DS: $h0xAH = $ShJO2->getWithEnv('softApiAsrAppId'); goto fvOVN; fvOVN: $Igyba = $ShJO2->getWithEnv('softApiAsrAppSecret'); goto oz4CY; N7j6h: } public static function express($zpMuS, $LJR3h) { goto upjFD; QB3Gb: if ($om_hh['code']) { return array(); } goto Hm8xS; gnwlG: $h0xAH = $ShJO2->getWithEnv('softApiExpressAppId'); goto d2mJw; upjFD: $ShJO2 = modstart_config(); goto gnwlG; d2mJw: $Igyba = $ShJO2->getWithEnv('softApiExpressAppSecret'); goto vvUrw; iCmy5: $aTNjZ = Tecmz::instance($h0xAH, $Igyba); goto JLdCA; JLdCA: $om_hh = $aTNjZ->express($zpMuS, $LJR3h); goto QB3Gb; Hm8xS: return $om_hh['data']['list']; goto U11Fs; vvUrw: if (empty($h0xAH)) { $h0xAH = $ShJO2->getWithEnv('softApiDefaultAppId'); $Igyba = $ShJO2->getWithEnv('softApiDefaultAppSecret'); } goto iCmy5; U11Fs: } }