alipayuidlog
This commit is contained in:
parent
86955148c1
commit
e110515255
|
@ -49,10 +49,12 @@ func (p *Pay) AlipayAuth(sess *session.AdminSession, authCode, state string) (st
|
|||
session.CheckDBError(err)
|
||||
session.CheckNilError(staffUser)
|
||||
payee := staffUser.GetPayee()
|
||||
oldUid := payee.AlipayUid
|
||||
payee.AlipayUid = res.UserId
|
||||
staffUser.Payee = goutil.EncodeJSON(payee)
|
||||
err = dao.NewStaffUserDao().Update(staffUser)
|
||||
session.CheckDBError(err)
|
||||
log.Errorf("staffuser[%d] alipayUid[%s]->alipayUid[%s]", staffUser.Id, oldUid, res.UserId)
|
||||
return res.UserId, staffUser
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue