appUser.go 623 B

1234567891011121314151617
  1. package services
  2. import (
  3. "project_management/app/e"
  4. "project_management/app/model"
  5. "project_management/unity"
  6. )
  7. type AppUser interface {
  8. AddAppUser(appUser model.AppUser) e.Rescode
  9. RegistAppUser(appUser model.AppUserRegist) e.Rescode
  10. GetAppUserList(params unity.CapQueryPageParams, tableName string, queryCond string) (result []model.AppUser, total int64, err error)
  11. UpdateAppUser(appUser model.AppUser, tabaleName string) e.Rescode
  12. DeleteAppUserByID(id int, tableName string) e.Rescode
  13. AccountLogin(appUser model.AppUserRegist) (e.Rescode, string)
  14. CodeLogin(appUser model.AppUserRegist) (e.Rescode, string)
  15. }