@@ -38,5 +38,6 @@ export const burying_point = (data) => {
isMiniApp: browser.getURLParam("isMiniApp")||'h5',
whereUrl: url,
type: data.type,
+ productId: data.productId,
});
};
@@ -122,6 +122,7 @@ const addCart = async (item) => {
Loading.hide();
if (result.code === 0) {
+ apis.burying_point({ type: 7, productId: item.id});
return Dialog.toast({ content: `添加成功`, type: "success" });
} else {
let callbackUrl = `${window.location.origin}${window.location.pathname}?m=${browser.getURLParam("m")}&${getApp().Camera.getPoseUrlParams()}`;