智盟项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

db_user_app_list.go 275 B

1 year ago
123456789101112131415
  1. package offical
  2. import (
  3. "applet/app/db"
  4. "applet/app/db/official/model"
  5. )
  6. func GetUserAppList(uid string) *model.UserAppList {
  7. var data model.UserAppList
  8. get, err := db.Db.Where("uuid=?", uid).Get(&data)
  9. if get == false || err != nil {
  10. return nil
  11. }
  12. return &data
  13. }