This commit is contained in:
2021-12-21 18:03:55 +08:00
parent 0df3603ef2
commit b8d1391bde
12 changed files with 458 additions and 169 deletions

21
module/user.go Normal file
View 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)
}