Authored by 马力

buried

... ... @@ -428,7 +428,8 @@ module.exports={
params: [
{name: 'productSkn', type: 'number'},
{name: 'operateType', type: 'number'},
{name: 'jsondata', type: 'string'}
{name: 'updateBeforeValue', type: 'string'},
{name: 'updateAfterValue', type: 'string'}
]
}
}
... ...
... ... @@ -300,14 +300,12 @@ $('#saveBasicInfo').on('click', function() {
// 埋点请求
function sknOperateLog(newValue, oldValue) {
if ((newValue && newValue.trim() != oldValue) || (oldValue != '' && newValue == '')) {
var jsondata = {};
jsondata.new = newValue;
jsondata.old = oldValue;
common.util.__ajax({
url:'/product/addProductOperateLog',
data:{
productSkn:basicInfo.productSkn,
jsondata : JSON.stringify(jsondata),
updateBeforeValue : oldValue?oldValue:'',
updateAfterValue : newValue?newValue:'',
operateType : 6
}
},null, true);
... ...
... ... @@ -297,14 +297,12 @@ common.sizeInfo.check();
// 埋点请求
function sknOperateLog(newValue, oldValue, operateType) {
if ((newValue && newValue.trim() != oldValue) || (oldValue != '' && newValue == '')) {
var jsondata = {};
jsondata.new = newValue;
jsondata.old = oldValue;
common.util.__ajax({
url:'/product/addProductOperateLog',
data:{
productSkn:window.NETSALEDATA.baseProductInfo.baseProduct.productSkn,
jsondata : JSON.stringify(jsondata),
updateBeforeValue : oldValue?oldValue:'',
updateAfterValue : newValue?newValue:'',
operateType : operateType
}
},null, true);
... ...