Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
elfTool
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
szh
elfTool
Commits
f408015e
Commit
f408015e
authored
May 11, 2024
by
szh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5fda1f1c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
0 deletions
+25
-0
const.go
const.go
+19
-0
elf_test.go
elf_test.go
+0
-0
elf.gen.air_drop_tx.go
model/elf.gen.air_drop_tx.go
+5
-0
elf.go
model/elf.go
+1
-0
main.go
tool/main.go
+0
-0
No files found.
const.go
0 → 100644
View file @
f408015e
package
elfGame
const
(
PointTypeGame
=
iota
PointTypeInviter
// 邀请
PointTypeHelp
// 助力
PointTypeGameGuide
// 游戏指导
PointTypeFrozen
// 锁仓奖励
PointTypeFrozenPre
// 锁仓指导
PointTypeRecover
// 回收
)
const
(
OrderType
=
iota
// 精灵召唤
OrderTypeTool
//道具购买
OrderTypeCap
//工坊开启
OrderTypeSecond
// 二次召唤
)
\ No newline at end of file
elf_test.go
View file @
f408015e
This diff is collapsed.
Click to expand it.
model/elf.gen.air_drop_tx.go
View file @
f408015e
...
...
@@ -84,6 +84,11 @@ func (obj *_AirDropTxMgr) WithToID(toID int) Option {
return
optionFunc
(
func
(
o
*
options
)
{
o
.
query
[
"to_id"
]
=
toID
})
}
// WithTo to获取
func
(
obj
*
_AirDropTxMgr
)
WithTo
(
to
string
)
Option
{
return
optionFunc
(
func
(
o
*
options
)
{
o
.
query
[
"to"
]
=
to
})
}
// WithAmount amount获取
func
(
obj
*
_AirDropTxMgr
)
WithAmount
(
amount
int
)
Option
{
return
optionFunc
(
func
(
o
*
options
)
{
o
.
query
[
"amount"
]
=
amount
})
...
...
model/elf.go
View file @
f408015e
...
...
@@ -11,6 +11,7 @@ type AirDropTx struct {
Height
int
`gorm:"column:height" json:"height"`
UserID
int
`gorm:"column:user_id" json:"userId"`
ToID
int
`gorm:"column:to_id" json:"toId"`
To
string
`gorm:"column:to" json:"to"`
Amount
int
`gorm:"column:amount" json:"amount"`
Blocktime
int
`gorm:"column:blocktime" json:"blocktime"`
}
...
...
tool/main.go
0 → 100644
View file @
f408015e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment