Commit c9d4a427 by 张光博

配置

parent 6ecdfa99
Pipeline #22232 passed with stage
in 0 seconds
No preview for this file type
......@@ -138,7 +138,6 @@ func (u *User) CreateUser() int64 {
now := time.Now()
unix := now.Unix()
rs, err := db.SqlDB.Exec("INSERT into member (uucode, avatar, type, realname, parentUin, uptime,createtime, wxname, openid,unionid) value (?,?,?,?,?,?,?,?,?,?)", u.Uucode, url.QueryEscape(u.Avatar), 2, url.QueryEscape(u.Realname), u.ParentUin, unix, unix, url.QueryEscape(u.Wxname), u.Openid, u.Unionid)
if err != nil {
log.Fatal(err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment