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