cshenfu
2023-05-12 dd8cb88d4f9c805b0e5e46fdd195fd57fd75644b
add jweixin-modules
4个文件已修改
28 ■■■■■ 已修改文件
common/config.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package-lock.json 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/vip/vip.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
common/config.js
@@ -1,10 +1,10 @@
let setting = {
  // base_url: 'http://192.168.0.104:8998', // 本地调试
  // ws: 'ws://192.168.0.104:7272',  // 本地socket
    // base_url: 'https://newgpt.nauzone.cn',
    // ws: 'wss://newgpt.nauzone.cn/wss',
    base_url: 'http://ai.shsening.com',
    ws: 'ws://ai.shsening.com/wss',
    base_url: 'https://newgpt.nauzone.cn',
    ws: 'wss://newgpt.nauzone.cn/wss',
    // base_url: 'http://ai.shsening.com',
    // ws: 'ws://ai.shsening.com/wss',
    official_accounts_appid: 'wxa447f988edc97797'
}
package-lock.json
@@ -6,6 +6,7 @@
    "": {
      "dependencies": {
        "axios": "^1.3.5",
        "jweixin-module": "^1.6.0",
        "vconsole": "^3.15.0"
      },
      "devDependencies": {
@@ -105,6 +106,11 @@
      "engines": {
        "node": ">= 6"
      }
    },
    "node_modules/jweixin-module": {
      "version": "1.6.0",
      "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz",
      "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
    },
    "node_modules/mime-db": {
      "version": "1.52.0",
@@ -232,6 +238,11 @@
        "mime-types": "^2.1.12"
      }
    },
    "jweixin-module": {
      "version": "1.6.0",
      "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz",
      "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
    },
    "mime-db": {
      "version": "1.52.0",
      "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz",
package.json
@@ -4,6 +4,7 @@
  },
  "dependencies": {
    "axios": "^1.3.5",
    "jweixin-module": "^1.6.0",
    "vconsole": "^3.15.0"
  }
}
pages/vip/vip.vue
@@ -157,7 +157,9 @@
                                    title: "温馨提示",
                                    content: "权益已开通成功!"
                                })
                                this.$request('/api/Member/checkNum', 'POST').then(re => {
                                this.$request('/api/Member/checkNum', 'POST',{
                                    comb_id: this.rechargeOptions[this.current].comb_id
                                }).then(re => {
                                    this.data_content3 = re
                                     // 更新数量
                                    this.$store.commit('syncUserNum',re.data.num)
@@ -192,7 +194,9 @@
                            title: "温馨提示",
                            content: "权益已开通成功!"
                        })
                        this.$request('/api/Member/checkNum', 'POST').then(re => {
                        this.$request('/api/Member/checkNum', 'POST',{
                                    comb_id: this.rechargeOptions[this.current].comb_id
                                }).then(re => {
                             // 更新数量
                            this.$store.commit('syncUserNum',re.data.num)
                        })