Authored by leo

Update: 增加错误处理

... ... @@ -385,6 +385,8 @@ function getOperationRecords(couponId) {
var data = resp.data;
covertOperationRecord(data)
$('.historyDetail').html(common.util.__template2($('#operation-record-template').html(), {list: data}));
} else {
$('.historyDetail').html('<p>查询记录失败!</p>');
}
}, true);
}
... ...