update vault status

This commit is contained in:
shoopea 2019-10-11 16:28:25 +08:00
parent 3a9a987add
commit 1335fc7191
2 changed files with 2 additions and 3 deletions

2
bot.go
View File

@ -727,7 +727,7 @@ func botVault(m *tb.Message, itemTypeList []int64) {
p := JobPayloadVaultStatus{ p := JobPayloadVaultStatus{
MsgID64: int64(m.ID), MsgID64: int64(m.ID),
ChatID64: m.Chat.ID, UserID64: int64(m.Sender.ID),
UserListID64: nil, UserListID64: nil,
ItemTypeListID64: nil, ItemTypeListID64: nil,
DepositChatID64: cfg.Bot.Depositchat, DepositChatID64: cfg.Bot.Depositchat,

3
def.go
View File

@ -350,8 +350,7 @@ type JobPayloadVaultStatus struct {
UserListID64 []int64 `json:"user_list"` UserListID64 []int64 `json:"user_list"`
ItemTypeListID64 []int64 `json:"item_type_list"` ItemTypeListID64 []int64 `json:"item_type_list"`
DepositChatID64 int64 `json:"deposit_chat_id"` DepositChatID64 int64 `json:"deposit_chat_id"`
MsgID64 int64 `json:"msg_id"` UserID64 int64 `json:"user_id"`
ChatID64 int64 `json:"chat_id"`
} }
const ( const (