diff --git a/app/init.go b/app/init.go index d6435ba..e5134d1 100644 --- a/app/init.go +++ b/app/init.go @@ -374,12 +374,6 @@ func init() { admin.InitService() member.InitService() service.ConfigS.InitGlobalConfigs() -<<<<<<< HEAD - }); -} -======= api.InitService() }) - -} ->>>>>>> dev-life +} \ No newline at end of file diff --git a/app/service/UserService.go b/app/service/UserService.go index ad7f560..d51c014 100644 --- a/app/service/UserService.go +++ b/app/service/UserService.go @@ -119,10 +119,7 @@ func (this *UserService) GetUserInfo(userId string) info.User { func (this *UserService) GetUserInfoByEmail(email string) info.User { user := info.User{} db.GetByQ(db.Users, bson.M{"Email": email}, &user) -<<<<<<< HEAD -======= // Logo路径问题, 有些有http: 有些没有 ->>>>>>> dev-life this.setUserLogo(&user) return user } @@ -131,10 +128,7 @@ func (this *UserService) GetUserInfoByUsername(username string) info.User { user := info.User{} username = strings.ToLower(username) db.GetByQ(db.Users, bson.M{"Username": username}, &user) -<<<<<<< HEAD -======= // Logo路径问题, 有些有http: 有些没有 ->>>>>>> dev-life this.setUserLogo(&user) return user } diff --git a/app/views/note/note.html b/app/views/note/note.html index e0e870c..a235260 100644 --- a/app/views/note/note.html +++ b/app/views/note/note.html @@ -713,7 +713,7 @@ function log(o) {