Commit 29639ffa authored by mingyard's avatar mingyard

feat:get token

parent 0d819c7c
......@@ -207,12 +207,10 @@ export class AuthService {
},
);
console.log('getTxAsrToken result', result?.data);
if (result?.data?.code !== 200) {
if (!result?.data) {
throw new Error('获取ASR token失败');
}
return result?.data.data;
return result?.data;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment