From e6d878888c2684e96506b3f45b78b9a277398b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Thu, 23 May 2024 14:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/api.js | 4 ++ package-lock.json | 8 +++- pages/index/index.vue | 57 +++++++++++++++++++++-------- unpackage/dist/build/web/index.html | 2 +- 4 files changed, 53 insertions(+), 18 deletions(-) diff --git a/common/js/api.js b/common/js/api.js index 8de6085..77ca553 100644 --- a/common/js/api.js +++ b/common/js/api.js @@ -53,4 +53,8 @@ export default { szzpyissuedby(data) { //开票人列表 return uni.api.post("szzpy/issuedby", data); }, + userttwechat(data) { //开票人列表 + return uni.api.post("user/ttwechat", data); + }, + } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6270bdf..439ba83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,8 @@ "dependencies": { "dayjs": "^1.11.11", "html2canvas": "^1.4.1", - "uview-ui": "^2.0.36" + "uview-ui": "^2.0.36", + "weixin-js-sdk": "^1.6.5" } }, "node_modules/base64-arraybuffer": { @@ -66,6 +67,11 @@ "engines": { "HBuilderX": "^3.1.0" } + }, + "node_modules/weixin-js-sdk": { + "version": "1.6.5", + "resolved": "https://registry.npmmirror.com/weixin-js-sdk/-/weixin-js-sdk-1.6.5.tgz", + "integrity": "sha512-Gph1WAWB2YN/lMOFB/ymb+hbU/wYazzJgu6PMMktCy9cSCeW5wA6Zwt0dpahJbJ+RJEwtTv2x9iIu0U4enuVSQ==" } } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 945142a..2265dda 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -40,6 +40,7 @@