style:格式化代码

This commit is contained in:
lifei6671 2019-03-04 14:22:48 +08:00
parent ead36721d4
commit 1ecdb10303

View File

@ -1,15 +1,15 @@
package controllers package controllers
import ( import (
"net/url"
"regexp" "regexp"
"strings" "strings"
"time" "time"
"net/url"
"github.com/lifei6671/mindoc/mail"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/lifei6671/gocaptcha" "github.com/lifei6671/gocaptcha"
"github.com/lifei6671/mindoc/conf" "github.com/lifei6671/mindoc/conf"
"github.com/lifei6671/mindoc/mail"
"github.com/lifei6671/mindoc/models" "github.com/lifei6671/mindoc/models"
"github.com/lifei6671/mindoc/utils" "github.com/lifei6671/mindoc/utils"
"html/template" "html/template"
@ -57,6 +57,7 @@ func (c *AccountController) Prepare() {
} }
} }
} }
// Login 用户登录 // Login 用户登录
func (c *AccountController) Login() { func (c *AccountController) Login() {
c.Prepare() c.Prepare()