提交 2fa4bea0 编写于 作者: G gongfuxiang

微信小程序海报

上级 cbf1e1ed
......@@ -1698,9 +1698,6 @@ class UserService
// 用户登录纪录处理
self::UserLoginRecord($user['id'], true);
// 移除用户id
unset($user['id']);
}
}
......
......@@ -61,7 +61,7 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
// request_url: 'http://tp5-dev.com/',
// request_url: 'https://test.shopxo.net/',
// 基础信息
......@@ -238,7 +238,7 @@ App({
// 邀请人参数
var params = wx.getStorageSync(this.data.cache_launch_info_key) || null;
var referrer = (params == null) ? 0 : (params.referrer || 0);
console.log(params)
// 远程解密数据
var $this = this;
wx.request({
......
{
"pages": ["pages/goods-detail/goods-detail",
"pages": [
"pages/index/index",
"pages/goods-category/goods-category",
"pages/cart/cart",
......@@ -8,7 +8,7 @@
"pages/login/login",
"pages/paytips/paytips",
"pages/goods-search/goods-search",
"pages/goods-detail/goods-detail",
"pages/goods-comment/goods-comment",
"pages/goods-attribute/goods-attribute",
"pages/buy/buy",
......
......@@ -772,10 +772,12 @@ Page({
// 自定义分享
onShareAppMessage() {
var user = app.get_user_cache_info(this, 'goods_favor_event') || null;
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
return {
title: app.data.application_title +'-'+ this.data.goods.title,
desc: app.data.application_describe,
path: '/pages/goods-detail/goods-detail?share=goods-detail&goods_id='+this.data.goods.id
path: '/pages/goods-detail/goods-detail?goods_id=' + this.data.goods.id +'&referrer='+user_id
};
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册