<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Tecmz; class TecmzUtil { public static function url() { return 'https://api.tecmz.com'; } public static function instance($S2HAh) { $akSp2 = modstart_config(); return Tecmz::instance($akSp2->getWithEnv("{$S2HAh}AppId"), $akSp2->getWithEnv("{$S2HAh}AppSecret")); } public static function asr($EpKdG, $wPS1C) { goto zM_Jj; zYKaP: if ($Tbn6c['code']) { return null; } goto jl6wZ; wJg96: $NfuH8 = Tecmz::instance($vUe25, $Ku3Qo); goto ltajS; zM_Jj: $akSp2 = modstart_config(); goto GGxXz; AU1vR: if (empty($vUe25)) { $vUe25 = $akSp2->getWithEnv('softApiDefaultAppId'); $Ku3Qo = $akSp2->getWithEnv('softApiDefaultAppSecret'); } goto wJg96; AYODq: $Ku3Qo = $akSp2->getWithEnv('softApiAsrAppSecret'); goto AU1vR; GGxXz: $vUe25 = $akSp2->getWithEnv('softApiAsrAppId'); goto AYODq; jl6wZ: return $Tbn6c['data']['text']; goto Mb3yH; ltajS: $Tbn6c = $NfuH8->asr($EpKdG, base64_encode($wPS1C)); goto zYKaP; Mb3yH: } public static function express($EpKdG, $xHA1p) { goto xxfh1; lV6mK: return $Tbn6c['data']['list']; goto wbYSy; fN_KF: $NfuH8 = Tecmz::instance($vUe25, $Ku3Qo); goto i88gW; U_4M9: $Ku3Qo = $akSp2->getWithEnv('softApiExpressAppSecret'); goto IHiIe; jSF9N: $vUe25 = $akSp2->getWithEnv('softApiExpressAppId'); goto U_4M9; i88gW: $Tbn6c = $NfuH8->express($EpKdG, $xHA1p); goto OCLM7; xxfh1: $akSp2 = modstart_config(); goto jSF9N; IHiIe: if (empty($vUe25)) { $vUe25 = $akSp2->getWithEnv('softApiDefaultAppId'); $Ku3Qo = $akSp2->getWithEnv('softApiDefaultAppSecret'); } goto fN_KF; OCLM7: if ($Tbn6c['code']) { return array(); } goto lV6mK; wbYSy: } }