附近小店
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

16 行
295 B

  1. package db
  2. import (
  3. "applet/app/db/model"
  4. "xorm.io/xorm"
  5. )
  6. func StoreAuditByUid(eg *xorm.Engine, uid int) *model.CommunityTeamStoreAudit {
  7. var data model.CommunityTeamStoreAudit
  8. get, err := eg.Where("uid=?", uid).Get(&data)
  9. if get == false || err != nil {
  10. return nil
  11. }
  12. return &data
  13. }