You've already forked guangan
BUG
This commit is contained in:
@ -19,10 +19,10 @@ class UserShare extends Auth
|
||||
|
||||
public function info()
|
||||
{
|
||||
[$id] = $this->_vali([
|
||||
$data = $this->_vali([
|
||||
'id.require' => 'ID不能为空',
|
||||
]);
|
||||
$info = TicketUserShare::query()->where(['user_id'=>$this->usid])->findOrEmpty($id);
|
||||
$info = TicketUserShare::query()->where(['user_id'=>$this->usid])->where('id', '=', $data['id'])->findOrEmpty();
|
||||
if ($info->isEmpty()) $this->error('数据不存在');
|
||||
$this->success('获取用户随手拍详情', $info);
|
||||
}
|
||||
|
Reference in New Issue
Block a user