17 lines
670 B
Go
17 lines
670 B
Go
package application
|
|
|
|
import (
|
|
appModel "busniess-user-center/internal/models/application"
|
|
"context"
|
|
)
|
|
|
|
type ApplicationService interface {
|
|
Create(ctx context.Context, info *appModel.CreateReq) error
|
|
ResetSecret(ctx context.Context, info *appModel.ResetSecretReq) error
|
|
Delete(ctx context.Context, req *appModel.DeleteAppReq) error
|
|
GetApp(ctx context.Context, req *appModel.GetAppReq) (app appModel.ApplicationInfo, err error)
|
|
Search(ctx context.Context, query *appModel.Query) (rsp appModel.List, err error)
|
|
Menus(ctx context.Context, info *appModel.MenusReq) (rsp []appModel.Menu, err error)
|
|
Modify(ctx context.Context, info *appModel.ApplicationInfo) error
|
|
}
|