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.

32 lines
791 B

  1. // ================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // You can delete these comments if you wish manually maintain this interface file.
  4. // ================================================================================
  5. package service
  6. import (
  7. "context"
  8. )
  9. type (
  10. ICouponUsers interface {
  11. // 添加用户选择武器记录
  12. AddRecord(ctx context.Context, jwcode int, id int, name string) (err error)
  13. }
  14. )
  15. var (
  16. localCouponUsers ICouponUsers
  17. )
  18. func CouponUsers() ICouponUsers {
  19. if localCouponUsers == nil {
  20. panic("implement not found for interface ICouponUsers, forgot register?")
  21. }
  22. return localCouponUsers
  23. }
  24. func RegisterCouponUsers(i ICouponUsers) {
  25. localCouponUsers = i
  26. }