MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / FillUserById

Method FillUserById

model/user.go:430–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428}
429
430func (user *User) FillUserById() error {
431 if user.Id == 0 {
432 return errors.New("id 为空!")
433 }
434 DB.Where(User{Id: user.Id}).First(user)
435 return nil
436}
437
438func (user *User) FillUserByEmail() error {
439 if user.Email == "" {

Callers 6

TelegramBindFunction · 0.95
GitHubBindFunction · 0.95
OidcBindFunction · 0.95
LinuxDoBindFunction · 0.95
EmailBindFunction · 0.95
WeChatBindFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected