<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Tecmz; class TecmzUtil { public static function url() { return 'https://api.tecmz.com'; } public static function instance($HuDpR) { $IRUR1 = modstart_config(); return Tecmz::instance($IRUR1->getWithEnv("{$HuDpR}AppId"), $IRUR1->getWithEnv("{$HuDpR}AppSecret")); } public static function asr($zTlk4, $pIflz) { goto Xpgy7; P_ux3: $gMg9x = $Eh1_8->asr($zTlk4, base64_encode($pIflz)); goto J1zoD; rF0cL: $Eh1_8 = Tecmz::instance($MMm62, $UMqKV); goto P_ux3; aBVkO: $MMm62 = $IRUR1->getWithEnv('softApiAsrAppId'); goto OJ_46; aRafK: return $gMg9x['data']['text']; goto bfA0P; J1zoD: if ($gMg9x['code']) { return null; } goto aRafK; OJ_46: $UMqKV = $IRUR1->getWithEnv('softApiAsrAppSecret'); goto Aooqg; Aooqg: if (empty($MMm62)) { $MMm62 = $IRUR1->getWithEnv('softApiDefaultAppId'); $UMqKV = $IRUR1->getWithEnv('softApiDefaultAppSecret'); } goto rF0cL; Xpgy7: $IRUR1 = modstart_config(); goto aBVkO; bfA0P: } public static function express($zTlk4, $B0JXC) { goto JTila; RcMV0: return $gMg9x['data']['list']; goto wYSW5; kLUm1: if (empty($MMm62)) { $MMm62 = $IRUR1->getWithEnv('softApiDefaultAppId'); $UMqKV = $IRUR1->getWithEnv('softApiDefaultAppSecret'); } goto LyJn9; X9HQL: if ($gMg9x['code']) { return array(); } goto RcMV0; LyJn9: $Eh1_8 = Tecmz::instance($MMm62, $UMqKV); goto xuJU4; kkBwn: $MMm62 = $IRUR1->getWithEnv('softApiExpressAppId'); goto WCHcC; xuJU4: $gMg9x = $Eh1_8->express($zTlk4, $B0JXC); goto X9HQL; WCHcC: $UMqKV = $IRUR1->getWithEnv('softApiExpressAppSecret'); goto kLUm1; JTila: $IRUR1 = modstart_config(); goto kkBwn; wYSW5: } }