Commit df5643c3 df5643c3ec2d1a86978369857d2ffefa79dcc2cc by lemon

生成分享链接并且生成token

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