chore!(all): update go import path

BREAKING CHANGE: use github.com/mindoc-org/mindoc as import path
This commit is contained in:
roberChen
2021-03-23 15:09:17 +08:00
parent 886bc8ee51
commit 79f70d830d
54 changed files with 279 additions and 248 deletions

View File

@@ -9,10 +9,10 @@ import (
"time"
"github.com/astaxie/beego/logs"
"github.com/lifei6671/mindoc/conf"
"github.com/lifei6671/mindoc/graphics"
"github.com/lifei6671/mindoc/models"
"github.com/lifei6671/mindoc/utils"
"github.com/mindoc-org/mindoc/conf"
"github.com/mindoc-org/mindoc/graphics"
"github.com/mindoc-org/mindoc/models"
"github.com/mindoc-org/mindoc/utils"
)
type SettingController struct {
@@ -34,7 +34,7 @@ func (c *SettingController) Index() {
member.Email = email
member.Phone = phone
member.Description = description
member.RealName = strings.TrimSpace(c.GetString("real_name",""))
member.RealName = strings.TrimSpace(c.GetString("real_name", ""))
if err := member.Update(); err != nil {
c.JsonResult(602, err.Error())
}