diff --git a/src/exchange/ExchangeItem.js b/src/exchange/ExchangeItem.js index 8b68e52f..b491557c 100644 --- a/src/exchange/ExchangeItem.js +++ b/src/exchange/ExchangeItem.js @@ -65,7 +65,7 @@ class ExchangeItem extends Component { // 取消置顶+置顶 topEvent = (sticky,id) =>{ const { refresh } = this.props; - const url =`/memos/${id}/set_top_or_down`; + const url =`/memos/${id}/set_top_or_down.json`; axios.get(url,{params:{ sticky:sticky ? 0 : 1