Commit 53eaf884 authored by liujiangnan's avatar liujiangnan

feat

parent 64da517c
...@@ -578,6 +578,10 @@ export default class NewClass extends middleLayerBase { ...@@ -578,6 +578,10 @@ export default class NewClass extends middleLayerBase {
cc.find('middleLayer/ExitBtn').active = false; cc.find('middleLayer/ExitBtn').active = false;
if (this.type == "aixuebao") { if (this.type == "aixuebao") {
await this.asyncCallNetworkApiGet(`/api/aixuebao/v1/engine/active`, {
engineid: this.engine_uuid,
product: 'oxford'
});
// 机器码授权免登陆 (爱学宝) // 机器码授权免登陆 (爱学宝)
const {token} = await this.asyncCallNetworkApiPost(`/api/oxfordlite/v1/engine/login`, { const {token} = await this.asyncCallNetworkApiPost(`/api/oxfordlite/v1/engine/login`, {
engine_uuid: this.engine_uuid engine_uuid: this.engine_uuid
......
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