1.提交缺失的东西
This commit is contained in:
@ -20,6 +20,8 @@ class BaseApiController extends BaseLikeAdminController
|
||||
{
|
||||
protected int $userId = 0;
|
||||
protected array $userInfo = [];
|
||||
protected int $page_no = 1;
|
||||
protected int $page_size = 15;
|
||||
|
||||
public function initialize()
|
||||
{
|
||||
|
||||
@ -83,6 +83,20 @@ class UserController extends BaseApiController
|
||||
$info = UserLogic::myWallet($this->userId);
|
||||
return $this->success('获取成功', $info);
|
||||
}
|
||||
/**
|
||||
* Notes:账户流水
|
||||
* @author: 2021/3/10 10:13
|
||||
*/
|
||||
public function accountLog()
|
||||
{
|
||||
$source = $this->request->get('source');
|
||||
$type = $this->request->get('type', 0);
|
||||
$list = [];
|
||||
if ($source) {
|
||||
$list = UserLogic::accountLog($this->userId, $source, $type, $this->page_no, $this->page_size);
|
||||
}
|
||||
return $this->success('获取成功', $list);
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 修改密码
|
||||
|
||||
Reference in New Issue
Block a user