绑定用户
(githubId, memberId interface{})
| 28 | |
| 29 | //绑定用户 |
| 30 | func (this *Github) Bind(githubId, memberId interface{}) (err error) { |
| 31 | _, err = orm.NewOrm().QueryTable("md_github").Filter("id", githubId).Update(orm.Params{"member_id": memberId}) |
| 32 | return |
| 33 | } |