Commit df5643c3 df5643c3ec2d1a86978369857d2ffefa79dcc2cc by lemon

生成分享链接并且生成token

1 parent d59af217
...@@ -103,7 +103,7 @@ class PropertyTrackService extends Service ...@@ -103,7 +103,7 @@ class PropertyTrackService extends Service
103 'expire_time' => '', 103 'expire_time' => '',
104 ]; 104 ];
105 105
106 if ($share = PropertyShare::query()->where(['pf_id'=>$this->request->input('pf_id')])->orderByDesc('id')->first()) { 106 if ($share = PropertyShare::query()->where(['pf_id'=>$this->request->input('track_id')])->orderByDesc('id')->first()) {
107 $data['phone'] = $share->phone; 107 $data['phone'] = $share->phone;
108 $data['share_url'] = $share->share_url; 108 $data['share_url'] = $share->share_url;
109 $data['expire_time']= $share->expire_time; 109 $data['expire_time']= $share->expire_time;
......