MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Bind

Method Bind

models/github.go:30–33  ·  view source on GitHub ↗

绑定用户

(githubId, memberId interface{})

Source from the content-addressed store, hash-verified

28
29//绑定用户
30func (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}

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected