MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Bind

Method Bind

models/qq.go:32–35  ·  view source on GitHub ↗

绑定用户

(openid, memberId interface{})

Source from the content-addressed store, hash-verified

30
31//绑定用户
32func (this *QQ) Bind(openid, memberId interface{}) (err error) {
33 _, err = orm.NewOrm().QueryTable("md_qq").Filter("openid", openid).Update(orm.Params{"member_id": memberId})
34 return
35}
36
37func (this *QQ) TableName() string {
38 return "qq"

Callers 4

ValidLDAPLoginFunction · 0.45
AddMemberFunction · 0.45
ModifyPasswordFunction · 0.45
ldapLoginMethod · 0.45

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected