Authored by yyq

js https

... ... @@ -196,7 +196,8 @@ function delCartGoods(data, callback) {
var strG = '';
if (jsonData.code === 200) {
if (jsonData.data && jsonData.data.total_goods_num !== undefined) {
if (jsonData.data &&
typeof jsonData.data.total_goods_num !== 'undefined') {
strG = '{"_k":"' + data.key + '","_nac":' +
jsonData.data.total_goods_num + ',"_ac":0,"_r":0}';
syncCratInfo(strG);
... ...