Commit 8bd32c23 by 孙亚楠

d

parent 645f20fd
...@@ -5,7 +5,7 @@ class MerchantCtl extends CtlBase { ...@@ -5,7 +5,7 @@ class MerchantCtl extends CtlBase {
super(); super();
this.merchantSve = system.getObject("service.saas.merchantSve"); this.merchantSve = system.getObject("service.saas.merchantSve");
this.merchantuserSve = system.getObject("service.uc.merchantuserSve"); this.merchantuserSve = system.getObject("service.uc.merchantuserSve");
this.baseUrl = "https://xxxxxxxxxxxx"; this.baseUrl = "http://192.168.210.183:8081/#/";
} }
async dics(params, pobj2, req) { async dics(params, pobj2, req) {
...@@ -39,7 +39,8 @@ class MerchantCtl extends CtlBase { ...@@ -39,7 +39,8 @@ class MerchantCtl extends CtlBase {
this.doTimeCondition(params, ["createBegin", "createEnd"]); this.doTimeCondition(params, ["createBegin", "createEnd"]);
let list = await this.merchantSve.page(params); let list = await this.merchantSve.page(params);
for (let item of list.data.rows) { for (let item of list.data.rows) {
item.qrcode = encodeURIComponent(this.baseUrl + "?mechtId=" +system.encryption(item.id)); let redds = encodeURIComponent(system.encryption(item.id));
item.qrcode =this.baseUrl + "?mchtId=" + encodeURIComponent(system.encryption(item.id));
} }
return list; return list;
} catch (error) { } catch (error) {
......
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