获取用户保证金列表
This commit is contained in:
parent
279e339c9c
commit
ce086b0157
@ -312,7 +312,7 @@ class Auth extends BaseController
|
||||
$user = $this->request->userInfo();
|
||||
[$page, $limit] = $this->getPage();
|
||||
$count = Db::name('margin_order')->where('uid', $user['uid'])->count();
|
||||
$list = Db::name('margin_order')->where('uid', $user['uid'])->page($page, $limit)->select()->toArray();
|
||||
$list = Db::name('margin_order')->where('uid', $user['uid'])->page($page, $limit)->order('order_id', 'desc')->select()->toArray();
|
||||
return app('json')->success(compact('count', 'list'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user