Authored by mark

adjust fontsize

... ... @@ -1596,7 +1596,7 @@ const getPackage = (skn) => {
let resData = {code: data.code},
packageList = [];
if (data.code === 200) {
if (data.code === 200 && !_.isEmpty(data.data)) {
let bundleInfo = data.data.bundleInfo || {};
let productList = data.data.productList || {};
... ... @@ -1623,6 +1623,9 @@ const getPackage = (skn) => {
});
resData.data.packageData = packageList;
} else {
resData.code = 400;
resData.message = '没有数据';
}
return resData;
... ...
... ... @@ -20,11 +20,11 @@ module.exports = {
// test2
singleApi: 'http://192.168.102.27:8092/brower',
// api: 'http://api-test2.yohops.com:9999/',
// service: 'http://service-test2.yohops.com:9999/',
api: 'http://api-test2.yohops.com:9999/',
service: 'http://service-test2.yohops.com:9999/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/'
//api: 'http://api.yoho.cn/',
//service: 'http://service.yoho.cn/'
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
... ...
... ... @@ -526,7 +526,7 @@ bindEvent.add(function() {
return;
}
if (!getUid()) {
if (!window.getUid()) {
return window.jumpUrl(window.signinUrl());
}
... ...
... ... @@ -108,5 +108,7 @@ exports.statusFav = function(sid, bid) {
}
});
}
return $.Deferred().reject().promise();
};
... ...
... ... @@ -5,7 +5,9 @@ exports.statusAsync = function(sku) {
var uid = getUid();
if (!uid) {
return $.Deferred().reject({}).promise(); // eslint-disable-line
return $.Deferred().reject({ data: {// eslint-disable-line
sku: sku
}}).promise();
}
if (!sku) {
... ...