|
@ -59,6 +59,7 @@ func (t *UserCtl) EntryLogin() { |
|
|
entry.IsSpecial = customer.IsSpecial |
|
|
entry.IsSpecial = customer.IsSpecial |
|
|
_, err = entry.Update(entry, entry.Id) |
|
|
_, err = entry.Update(entry, entry.Id) |
|
|
t.CheckErr(err) |
|
|
t.CheckErr(err) |
|
|
|
|
|
|
|
|
entry.Token = fmt.Sprintf("%s:%s", define.TYPE_ENTRYPEOPLE, entry.Token) |
|
|
entry.Token = fmt.Sprintf("%s:%s", define.TYPE_ENTRYPEOPLE, entry.Token) |
|
|
t.SetSession(define.TOKEN, entry.Token) |
|
|
t.SetSession(define.TOKEN, entry.Token) |
|
|
t.JSON(map[string]interface{}{ |
|
|
t.JSON(map[string]interface{}{ |
|
|