|
@@ -32,6 +32,8 @@ class UserPartakeController
|
|
|
public function out_detail($id, Request $request)
|
|
|
{
|
|
|
$list = Out::where('status', 1)->where('id', $id)->order('id DESC')->find();
|
|
|
+ $partake = UserPartake::where('uid', $request->uid())->where('status', 0)->find();
|
|
|
+ $list['partake'] = $partake;
|
|
|
$list = $list ? $list->toArray() : [];
|
|
|
return app('json')->success($list);
|
|
|
}
|