feat:增加用户资产和会员状态
This commit is contained in:
15
app/api/enterprise/controller/user/assets.go
Normal file
15
app/api/enterprise/controller/user/assets.go
Normal 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}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user