Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: 修正打赏用户接口
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonleex committed May 13, 2018
1 parent 5cff503 commit b85b317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/reward.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
if (this.loading) return;
this.loading = true;
this.$http
.post(`/user/${userID}/rewards`, {
.post(`/user/${userID}/new-rewards`, {

This comment has been minimized.

Copy link
@jsonleex

jsonleex May 13, 2018

Author Contributor
amount: this.amount
})
.then(({ data = {} }) => {
Expand Down Expand Up @@ -127,7 +127,7 @@ export default {
if (this.loading) return;
this.loading = true;
this.$http
.post(`/plus-group/group-posts/${postID}/rewards`, {
.post(`/plus-group/group-posts/${postID}/new-rewards`, {
amount: this.amount
})
.then(({ data = {} }) => {
Expand Down

0 comments on commit b85b317

Please sign in to comment.