添加消息token消耗记录
This commit is contained in:
parent
785714fc46
commit
478cfc31d3
|
|
@ -111,6 +111,12 @@ func Init() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = db.AutoMigrate(&MessageToken{})
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println("message token table:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
err = db.AutoMigrate(&ThirdPartyUserInfo{})
|
err = db.AutoMigrate(&ThirdPartyUserInfo{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("third party user info table:", err)
|
fmt.Println("third party user info table:", err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue