Procházet zdrojové kódy

feat: 我的收益统计

Moss před 1 rokem
rodič
revize
53b143e733
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/pages/mine/myEarnings/list.vue

+ 2 - 2
src/pages/mine/myEarnings/list.vue

@@ -76,7 +76,7 @@
     methods: {
       getStats() {
         return new Promise((resolve, reject) => {
-          this.$api.get('/likeOrCollect/countLikeCollect', {
+          this.$api.postJson('/order/share/my/profit', {
             userId: this.$store.state.user.userId,
           }).then(res => {
             if (!res.data) return false;
@@ -248,4 +248,4 @@
 
     }
   }
-</style>
+</style>