|
@@ -1567,7 +1567,7 @@ class MyController extends Controller
|
|
public function accountLog()
|
|
public function accountLog()
|
|
{
|
|
{
|
|
$user = $this->getUser();
|
|
$user = $this->getUser();
|
|
- $data = AccountLog::where('to_id',$user->id)->orderBy('id','desc')->get();
|
|
|
|
|
|
+ $data = AccountLog::where('to_id',$user->id)->orWhere('from_id',$user->id)->orderBy('id','desc')->get();
|
|
return $this->api($data);
|
|
return $this->api($data);
|
|
}
|
|
}
|
|
|
|
|