mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-28 13:03:22 +08:00
50 lines
1.1 KiB
Go
50 lines
1.1 KiB
Go
// Package adminin
|
|
// @Link https://github.com/bufanyun/hotgo
|
|
// @Copyright Copyright (c) 2023 HotGo CLI
|
|
// @Author Ms <133814250@qq.com>
|
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
|
package adminin
|
|
|
|
import (
|
|
"hotgo/internal/model/entity"
|
|
"hotgo/internal/model/input/form"
|
|
)
|
|
|
|
// CashViewInp 获取信息
|
|
type CashViewInp struct {
|
|
Id int64 `json:"id" v:"required#提现ID不能为空" dc:"提现ID"`
|
|
}
|
|
|
|
type CashViewModel struct {
|
|
entity.AdminCash
|
|
MemberCash
|
|
}
|
|
|
|
// CashListInp 获取列表
|
|
type CashListInp struct {
|
|
form.PageReq
|
|
form.RangeDateReq
|
|
form.StatusReq
|
|
MemberId int64 `json:"memberId"`
|
|
CreatedAt []int64 `json:"created_at"`
|
|
}
|
|
|
|
type CashListModel struct {
|
|
MemberUser string `json:"memberUser"`
|
|
MemberName string `json:"memberName"`
|
|
entity.AdminCash
|
|
}
|
|
|
|
// CashApplyInp 申请提现
|
|
type CashApplyInp struct {
|
|
Money float64 `json:"money" description:"提现金额"`
|
|
MemberId int64
|
|
}
|
|
|
|
// CashPaymentInp 提现打款处理
|
|
type CashPaymentInp struct {
|
|
Id int64 `json:"id" description:"ID"`
|
|
Status int64 `json:"status" description:"状态码"`
|
|
Msg string `json:"msg" description:"处理结果"`
|
|
}
|