This website works better with JavaScript.
Home
Explore
Help
Sign In
go_rely_warehouse
/
zyos_go_mq_consume
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
一个橘子
one_orenge
huangjiajun
7 months ago
parent
8043d63974
commit
db6b066e20
5 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/db/db_money_reward.go
+2
-0
app/db/model/money_reward.go
+2
-0
app/db/model/user_extend_total.go
+1
-1
consume/md/consume_key.go
+1
-0
consume/md/md_canal_user_money.go
+ 2
- 0
app/db/db_money_reward.go
View File
@@ -7,6 +7,8 @@ import (
"xorm.io/xorm"
)
//
func GetMoneyReward(eg *xorm.Engine, uid, date, month string) *model.MoneyReward {
var data model.MoneyReward
get, err := eg.Where("uid=? and date=?", uid, date).Get(&data)
+ 2
- 0
app/db/model/money_reward.go
View File
@@ -4,6 +4,8 @@ import (
"time"
)
//
type MoneyReward struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"INT(11)"`
+ 2
- 0
app/db/model/user_extend_total.go
View File
@@ -1,5 +1,7 @@
package model
//
type UserExtendTotal struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"default 0 INT(11)"`
+ 1
- 1
consume/md/consume_key.go
View File
@@ -435,7 +435,7 @@ var RabbitMqQueueKeyList = []*MqQueue{
ConsumeFunName: "WithdrawConsume",
},
{
ExchangeName: "canal.topic",
ExchangeName: "canal.topic",
//
Name: "canal_fin_user_flow",
Type: TopicQueueType,
IsPersistent: false,
+ 1
- 0
consume/md/md_canal_user_money.go
View File
@@ -24,6 +24,7 @@ type CanalUserMoney struct {
UpdateAt string `json:"update_at" xorm:"updated not null default CURRENT_TIMESTAMP comment('更新时间') TIMESTAMP"`
}
//
type CanalUserMoneyMessage[T any] struct {
Data []T `json:"data"`
Database string `json:"database"`
Write
Preview
Loading…
Cancel
Save