Commit 83239905 by 王栋源

wdy

parent cd0ab9fe
......@@ -12,12 +12,6 @@ class UserCtl extends CtlBase {
this.execClient = system.getObject("util.execClient");
}
/**
* 开放平台回调处理
* @param {*} req
......@@ -88,5 +82,26 @@ class UserCtl extends CtlBase {
req.session.destroy();
return system.getResultSuccess({ "env": settings.env });
}
async invoicelist(p, o, r) {
var rtn = await this.execClient.execPost(p, "https://xggpjb.gongsibao.com/api/op/invoiceApi/invoiceListApi");
return rtn;
}
async invoice(p, o, r) {
var rtn = await this.execClient.execPost(p, "https://xggpjb.gongsibao.com/api/op/invoiceApi/saveInvoiceApi");
return rtn;
}
async h5payment(p, o, r) {
var rtn = await this.execClient.execPost(p, "https://igirl.gongsibao.com/api/tlapi/getH5PayUrl");
return {
status:0,
msg:"成功",
data:rtn
};
}
}
module.exports = UserCtl;
......@@ -5504,6 +5504,22 @@
"is-object": "^1.0.1"
}
},
"jdcloud-sdk-signer": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/jdcloud-sdk-signer/-/jdcloud-sdk-signer-2.0.1.tgz",
"integrity": "sha512-S/E39J2QR72d/bamnqrnvK5HlN7govBy0OPQC4dIm4Zp7y8T2awaJFOJYjGSDJrz8RlaPxyuNm3pq9RrLPEgdA==",
"requires": {
"type-detect": "^4.0.8",
"uuid": "^3.3.2"
},
"dependencies": {
"uuid": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
"integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ=="
}
}
},
"jpegtran-bin": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jpegtran-bin/-/jpegtran-bin-4.0.0.tgz",
......@@ -9338,6 +9354,11 @@
"prelude-ls": "~1.1.2"
}
},
"type-detect": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g=="
},
"type-fest": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.5.2.tgz",
......
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