Commit 0d819c7c authored by mingyard's avatar mingyard

feat:add log

parent 5e747a50
...@@ -207,6 +207,12 @@ export class AuthService { ...@@ -207,6 +207,12 @@ export class AuthService {
}, },
); );
return result?.data; console.log('getTxAsrToken result', result?.data);
if (result?.data?.code !== 200) {
throw new Error('获取ASR token失败');
}
return result?.data.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