|
|
@@ -328,6 +328,12 @@ async function getActParam(data) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+function genActParam(data){
|
|
|
+ let encrypt = new Encrypt(G_AES_KEY, G_AES_IV);
|
|
|
+ let str = JSON.stringify(data);
|
|
|
+ return encrypt.aesEncrypt(str);
|
|
|
+}
|
|
|
+
|
|
|
async function mtAdd(sessionId, itemId, shopId, userId, token, deviceId) {
|
|
|
const mtK = `${new Date().getTime()}`;
|
|
|
const mtV = await getMtv(deviceId, G_MT_VERSION);
|
|
|
@@ -361,6 +367,7 @@ async function mtAdd(sessionId, itemId, shopId, userId, token, deviceId) {
|
|
|
};
|
|
|
|
|
|
const actParam = await getActParam(d);
|
|
|
+ lk.log(`actParam=${genActParam(d)}`);
|
|
|
d['actParam'] = actParam;
|
|
|
lk.log(`actParam=${actParam}`);
|
|
|
return new Promise((resolve, _reject) => {
|