mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
user change
This commit is contained in:
parent
515d7bb318
commit
c97e39fc09
@ -5,6 +5,7 @@ import (
|
|||||||
"Open_IM/src/common/db"
|
"Open_IM/src/common/db"
|
||||||
pbAuth "Open_IM/src/proto/auth"
|
pbAuth "Open_IM/src/proto/auth"
|
||||||
"Open_IM/src/utils"
|
"Open_IM/src/utils"
|
||||||
|
"fmt"
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
_ "github.com/jinzhu/gorm/dialects/mysql"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@ -18,7 +19,7 @@ func init() {
|
|||||||
pb.Name = "AppManager" + utils.IntToString(k+1)
|
pb.Name = "AppManager" + utils.IntToString(k+1)
|
||||||
err := UserRegister(&pb)
|
err := UserRegister(&pb)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
fmt.Println("AppManager insert error", err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user