This commit is contained in:
孟帅
2023-05-10 23:54:50 +08:00
parent bbe655a4d8
commit 49a96750bf
314 changed files with 15138 additions and 6244 deletions

View File

@@ -0,0 +1,23 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminCash is the golang structure for table admin_cash.
type AdminCash struct {
Id int64 `json:"id" description:"ID"`
MemberId int64 `json:"memberId" description:"管理员ID"`
Money float64 `json:"money" description:"提现金额"`
Fee float64 `json:"fee" description:"手续费"`
LastMoney float64 `json:"lastMoney" description:"最终到账金额"`
Ip string `json:"ip" description:"申请人IP"`
Status int64 `json:"status" description:"状态码"`
Msg string `json:"msg" description:"处理结果"`
HandleAt *gtime.Time `json:"handleAt" description:"处理时间"`
CreatedAt *gtime.Time `json:"createdAt" description:"申请时间"`
}

View File

@@ -0,0 +1,28 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminCreditsLog is the golang structure for table admin_credits_log.
type AdminCreditsLog struct {
Id int64 `json:"id" description:"变动ID"`
MemberId int64 `json:"memberId" description:"管理员ID"`
AppId string `json:"appId" description:"应用id"`
AddonsName string `json:"addonsName" description:"插件名称"`
CreditType string `json:"creditType" description:"变动类型"`
CreditGroup string `json:"creditGroup" description:"变动组别"`
BeforeNum float64 `json:"beforeNum" description:"变动前"`
Num float64 `json:"num" description:"变动数据"`
AfterNum float64 `json:"afterNum" description:"变动后"`
Remark string `json:"remark" description:"备注"`
Ip string `json:"ip" description:"操作人IP"`
MapId int64 `json:"mapId" description:"关联ID"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -20,6 +20,7 @@ type AdminMember struct {
Salt string `json:"salt" description:"密码盐"`
AuthKey string `json:"authKey" description:"授权令牌"`
PasswordResetToken string `json:"passwordResetToken" description:"密码重置令牌"`
Integral float64 `json:"integral" description:"积分"`
Balance float64 `json:"balance" description:"余额"`
Avatar string `json:"avatar" description:"头像"`
Sex int `json:"sex" description:"性别"`

View File

@@ -0,0 +1,28 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminOauth is the golang structure for table admin_oauth.
type AdminOauth struct {
Id int64 `json:"id" description:"主键"`
MemberId int64 `json:"memberId" description:"用户ID"`
Unionid string `json:"unionid" description:"唯一ID"`
OauthClient string `json:"oauthClient" description:"授权组别"`
OauthOpenid string `json:"oauthOpenid" description:"授权开放ID"`
Sex int `json:"sex" description:"性别"`
Nickname string `json:"nickname" description:"昵称"`
HeadPortrait string `json:"headPortrait" description:"头像"`
Birthday *gtime.Time `json:"birthday" description:"生日"`
Country string `json:"country" description:"国家"`
Province string `json:"province" description:"省"`
City string `json:"city" description:"市"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -0,0 +1,25 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminOrder is the golang structure for table admin_order.
type AdminOrder struct {
Id int64 `json:"id" description:"主键"`
MemberId int64 `json:"memberId" description:"管理员id"`
OrderType string `json:"orderType" description:"订单类型"`
ProductId int64 `json:"productId" description:"产品id"`
OrderSn string `json:"orderSn" description:"关联订单号"`
Money float64 `json:"money" description:"充值金额"`
Remark string `json:"remark" description:"备注"`
RefundReason string `json:"refundReason" description:"退款原因"`
RejectRefundReason string `json:"rejectRefundReason" description:"拒绝退款原因"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -0,0 +1,44 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/os/gtime"
)
// PayLog is the golang structure for table pay_log.
type PayLog struct {
Id int64 `json:"id" description:"主键"`
MemberId int64 `json:"memberId" description:"会员ID"`
AppId string `json:"appId" description:"应用ID"`
AddonsName string `json:"addonsName" description:"插件名称"`
OrderSn string `json:"orderSn" description:"关联订单号"`
OrderGroup string `json:"orderGroup" description:"组别[默认统一支付类型]"`
Openid string `json:"openid" description:"openid"`
MchId string `json:"mchId" description:"商户支付账户"`
Subject string `json:"subject" description:"订单标题"`
Detail *gjson.Json `json:"detail" description:"支付商品详情"`
AuthCode string `json:"authCode" description:"刷卡码"`
OutTradeNo string `json:"outTradeNo" description:"商户订单号"`
TransactionId string `json:"transactionId" description:"交易号"`
PayType string `json:"payType" description:"支付类型"`
PayAmount float64 `json:"payAmount" description:"支付金额"`
ActualAmount float64 `json:"actualAmount" description:"实付金额"`
PayStatus int `json:"payStatus" description:"支付状态"`
PayAt *gtime.Time `json:"payAt" description:"支付时间"`
TradeType string `json:"tradeType" description:"交易类型"`
RefundSn string `json:"refundSn" description:"退款单号"`
IsRefund int `json:"isRefund" description:"是否退款"`
Custom string `json:"custom" description:"自定义参数"`
CreateIp string `json:"createIp" description:"创建者IP"`
PayIp string `json:"payIp" description:"支付者IP"`
NotifyUrl string `json:"notifyUrl" description:"支付通知回调地址"`
ReturnUrl string `json:"returnUrl" description:"买家付款成功跳转地址"`
TraceIds *gjson.Json `json:"traceIds" description:"链路ID集合"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -0,0 +1,26 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// PayRefund is the golang structure for table pay_refund.
type PayRefund struct {
Id uint64 `json:"id" description:"主键ID"`
MemberId int64 `json:"memberId" description:"会员ID"`
AppId string `json:"appId" description:"应用ID"`
OrderSn string `json:"orderSn" description:"业务订单号"`
RefundTradeNo string `json:"refundTradeNo" description:"退款交易号"`
RefundMoney float64 `json:"refundMoney" description:"退款金额"`
RefundWay int `json:"refundWay" description:"退款方式"`
Ip string `json:"ip" description:"申请者IP"`
Reason string `json:"reason" description:"申请退款原因"`
Remark string `json:"remark" description:"退款备注"`
Status int `json:"status" description:"退款状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"申请时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}