Commit a320fc4daa0fdd0fb5da9f00ae990d3c75831c8d
1 parent
13178af2
分享商品
Showing
1 changed file
with
5 additions
and
0 deletions
packageA/pages/goods_share/goods_share.js
@@ -292,6 +292,11 @@ Page({ | @@ -292,6 +292,11 @@ Page({ | ||
292 | orderField:this.data.orderField, | 292 | orderField:this.data.orderField, |
293 | orderType:this.data.orderType, | 293 | orderType:this.data.orderType, |
294 | } | 294 | } |
295 | + | ||
296 | + var user_id=getApp().globalData.user_id; | ||
297 | + if(!user_id){ user_id=0;} | ||
298 | + req_data.user_id=user_id; | ||
299 | + | ||
295 | if(this.data.key_str && this.data.key_str.trim()){ | 300 | if(this.data.key_str && this.data.key_str.trim()){ |
296 | var str=this.data.key_str.trim(); | 301 | var str=this.data.key_str.trim(); |
297 | req_data.key_str=str; | 302 | req_data.key_str=str; |