Authored by zhangxiaoru

shop

... ... @@ -56,7 +56,14 @@ const shopNav = (channelId) => {
cache: true,
code: 200
}).then((result) => {
console.log(result)
result = {
alg: 'SALT_MD5',
code: 200,
data: [],
md5: '870c92cf3e2e2f045d5ae48ab010fcb8',
message: 'product shopsPromoteTabNameList Info'
}
if (result.data) {
if (result.data.length === 0 || (result.data.length === 1 && result.data[0] === 'NULL')) {
return false;
... ...
... ... @@ -192,7 +192,7 @@ function shopNavData() {
if (data === false) {
shopListData('null');
$('.shop-nav').hide();
return;
//return;
}
$('.shop-nav').html(navString);
... ...