feat:增加用户资产和会员状态

This commit is contained in:
henry
2021-12-10 11:34:19 +08:00
parent 626f30a2bd
commit 2ee564d540
13 changed files with 188 additions and 31 deletions

View File

@ -0,0 +1,15 @@
package user
import "SciencesServer/app/session"
type Assets struct {
*session.Enterprise
}
type AssetsHandle func(session *session.Enterprise) *Assets
func NewAssets() AssetsHandle {
return func(session *session.Enterprise) *Assets {
return &Assets{Enterprise: session}
}
}