提交 39ceb203 编写于 作者: W wenxu12345

tidy code

上级 da733472
......@@ -15,10 +15,13 @@ func init() {
user, err := GetUserByUserID(v)
if err != nil {
fmt.Println("GetUserByUserID failed ", err.Error(), v, user)
}else{
continue
}
var appMgr User
appMgr.UserID = v
appMgr.Nickname = "AppManager" + utils.IntToString(k+1)
appMgr.AppMangerLevel = 2
err = UserRegister(appMgr)
if err != nil {
fmt.Println("AppManager insert error", err.Error())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册