Authored by htoooth

Revert: 增加用户权限的控制。

@@ -552,7 +552,7 @@ const _detailDataPkg = (origin, uid, vipLevel) => { @@ -552,7 +552,7 @@ const _detailDataPkg = (origin, uid, vipLevel) => {
552 552
553 let brandId = 0; 553 let brandId = 0;
554 554
555 - if (origin.brand.id) { 555 + if (origin.brand && origin.brand.id) {
556 brandId = origin.brand.id; 556 brandId = origin.brand.id;
557 } 557 }
558 558