weirenchun 10 mesiacov pred
rodič
commit
199a9e7027

+ 7 - 1
src/api/biz/index.js

@@ -38,7 +38,13 @@ export default {
    * @returns {Promise | Promise<unknown>}
    */
   getUserCountByCity(params) {
-    return fetch('/wutong-base/wxuser/getUserCountByCity', params)
+    return fetch(
+      '/blade-pc-applet/userarea/getUserCountByCity',
+      params,
+      'post',
+      'json'
+    )
+    // return fetch('/wutong-base/wxuser/getUserCountByCity', params)
   },
   /**
    * 获取最近7月类用户增加数量

+ 1 - 1
src/views/home/components/center1.vue

@@ -59,7 +59,7 @@ export default {
       this.$api.biz.getUserCountByTenant().then(res => {
         if (res.code === 200) {
           res.data.map(item => {
-            if (item.name === 'biz') {
+            if (item.name === 'wtzk') {
               this.bizCount = item.number
             } else if (item.name === 'yun') {
               this.yunCount = item.number