// ================================================================================ // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // You can delete these comments if you wish manually maintain this interface file. // ================================================================================ package service import ( "context" "jyOrderManager/internal/model" ) type ( ISession interface { GetUser(ctx context.Context) *model.User //CreateSession(ctx context.Context, phone, openid, unionid, miniprogramCode string) int } ) var ( localSession ISession ) func Session() ISession { if localSession == nil { panic("implement not found for interface ISession, forgot register?") } return localSession } func RegisterSession(i ISession) { localSession = i }