wxgzh
This commit is contained in:
21
module/user.go
Normal file
21
module/user.go
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @Author: jager
|
||||
* @Email: lhj168os@gmail.com
|
||||
* @File: user
|
||||
* @Date: 2021/12/21 3:17 下午
|
||||
* @package: module
|
||||
* @Version: v1.0.0
|
||||
*
|
||||
* @Description:
|
||||
*
|
||||
*/
|
||||
|
||||
package module
|
||||
|
||||
type IUser interface {
|
||||
OpenID() string
|
||||
Codes(isFund bool) []string
|
||||
HasSubscribed(isFund bool, code string) bool
|
||||
Subscribe(isFund bool, codes ...string)
|
||||
UnSubscribe(isFund bool, codes ...string)
|
||||
}
|
||||
Reference in New Issue
Block a user