Commit 600ff62b authored by wildfirecode's avatar wildfirecode

1

parent 362bdd05
...@@ -175,8 +175,11 @@ export default class MainBase extends eui.UILayer { ...@@ -175,8 +175,11 @@ export default class MainBase extends eui.UILayer {
} }
getIndex() { getIndex() {
return new Promise((r) => { return new Promise((r) => {
NetManager.ins.yyh_index(async () => { NetManager.ins.yyh_index(async (success) => {
r(); if(!success) {
location.href = 'https://activity.m.duiba.com.cn/customShare/share?id=3627'
}else
r();
}); });
}) })
} }
......
...@@ -991,7 +991,8 @@ export class NetManager extends ABNetManager { ...@@ -991,7 +991,8 @@ export class NetManager extends ABNetManager {
type: 'get', type: 'get',
dataType: 'json', dataType: 'json',
param: param, param: param,
callback: callback callback: callback,
hideMsg:true
}; };
this.send(net); this.send(net);
} }
......
{ {
"code":"0000000000", "code":"0000000000",
"desc":"OK", "desc":"OK",
"success":true, "success":0,
"timestamp":1564121038421, "timestamp":1564121038421,
"data":{ "data":{
"lighten":1, "lighten":1,
......
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