소스 검색

feat: 我的收益统计

Moss 1 년 전
부모
커밋
53b143e733
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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>