<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Tecmz; class TecmzUtil { public static function url() { return 'https://api.tecmz.com'; } public static function instance($iKcyw) { $HaG3K = modstart_config(); return Tecmz::instance($HaG3K->getWithEnv("{$iKcyw}AppId"), $HaG3K->getWithEnv("{$iKcyw}AppSecret")); } public static function asr($mhYne, $HPEmF) { goto lelYk; C8c1Q: $oHb9_ = $e8Ba6->asr($mhYne, base64_encode($HPEmF)); goto TF3pu; qrpqV: $lNXYI = $HaG3K->getWithEnv('softApiAsrAppSecret'); goto okcfo; lelYk: $HaG3K = modstart_config(); goto sFOyo; sFOyo: $YyUc2 = $HaG3K->getWithEnv('softApiAsrAppId'); goto qrpqV; TF3pu: if ($oHb9_['code']) { return null; } goto LMIdS; tOAzZ: $e8Ba6 = Tecmz::instance($YyUc2, $lNXYI); goto C8c1Q; LMIdS: return $oHb9_['data']['text']; goto YOKMA; okcfo: if (empty($YyUc2)) { $YyUc2 = $HaG3K->getWithEnv('softApiDefaultAppId'); $lNXYI = $HaG3K->getWithEnv('softApiDefaultAppSecret'); } goto tOAzZ; YOKMA: } public static function express($mhYne, $HwbgZ) { goto Lku7E; rai3t: $e8Ba6 = Tecmz::instance($YyUc2, $lNXYI); goto tIO2B; i02h8: $YyUc2 = $HaG3K->getWithEnv('softApiExpressAppId'); goto QS3qz; tIO2B: $oHb9_ = $e8Ba6->express($mhYne, $HwbgZ); goto w2UGS; Lku7E: $HaG3K = modstart_config(); goto i02h8; oIAON: return $oHb9_['data']['list']; goto FLgpV; QS3qz: $lNXYI = $HaG3K->getWithEnv('softApiExpressAppSecret'); goto PAnwC; w2UGS: if ($oHb9_['code']) { return array(); } goto oIAON; PAnwC: if (empty($YyUc2)) { $YyUc2 = $HaG3K->getWithEnv('softApiDefaultAppId'); $lNXYI = $HaG3K->getWithEnv('softApiDefaultAppSecret'); } goto rai3t; FLgpV: } }