From 8401a55e49cf21c0116309423ba196beb3a78830 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 12 May 2021 09:32:33 +0800 Subject: [PATCH] .json --- src/exchange/ExchangeItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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