|
@@ -364,7 +364,7 @@ class StoreProduct extends BaseController
|
|
364
|
|
364
|
|
|
365
|
try {
|
365
|
try {
|
|
366
|
$uid = $this->request->uid();
|
366
|
$uid = $this->request->uid();
|
|
367
|
- $product_share_url = Db::name('product_share')->where('product_id',$id)->where('share_channel',$type)->where('`url` is not null')->value('url');
|
|
|
|
|
|
367
|
+ $product_share_url = Db::name('product_share')->where('product_id',$id)->where('uid',$uid)->where('share_channel',$type)->where('`url` is not null')->value('url');
|
|
368
|
//记录Sat
|
368
|
//记录Sat
|
|
369
|
$insert_data=[
|
369
|
$insert_data=[
|
|
370
|
'uid'=>$uid,
|
370
|
'uid'=>$uid,
|