...
|
...
|
@@ -813,13 +813,12 @@ window.fetchReturn = fetchReturn; |
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: '/product/index/isfav',
|
|
|
dataType: 'html',
|
|
|
data: {
|
|
|
brandId: $('#brand-favour').data('id')
|
|
|
}
|
|
|
}).then(function(result) {
|
|
|
if (result.code === 200) {
|
|
|
$('#brand-favour').toggleClass('coled');
|
|
|
$('#brand-favour').addClass('coled');
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
|