diff --git a/exchange.html b/exchange.html
index a431a4a..2f12fcd 100644
--- a/exchange.html
+++ b/exchange.html
@@ -296,8 +296,9 @@
"token": sessionStorage.getItem('token')
}
req.axiosPost('/key/usage', data).then(res => {
- sessionStorage.setItem('lastid', self.goodInfo.product_id);
+ // sessionStorage.setItem('lastid', self.goodInfo.product_id);
if (res.code == 200) {
+ sessionStorage.setItem('lastid', self.goodInfo.product_id);
// 查询订单接口
this.popboxtype = '成功';
this.popboxshow = true;