1
This commit is contained in:
27
internal/app/system/controller/module_tenant.go
Normal file
27
internal/app/system/controller/module_tenant.go
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* @desc:模块租户关系控制器
|
||||
* @company:云南奇讯科技有限公司
|
||||
* @Author: system
|
||||
* @Date: 2026/1/6
|
||||
*/
|
||||
|
||||
package controller
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/service"
|
||||
)
|
||||
|
||||
var ModuleTenant = moduleTenantController{}
|
||||
|
||||
type moduleTenantController struct {
|
||||
BaseController
|
||||
}
|
||||
|
||||
// Add 添加模块租户关系
|
||||
func (c *moduleTenantController) Add(ctx context.Context, req *system.ModuleTenantAddReq) (res *system.ModuleTenantAddRes, err error) {
|
||||
err = service.ModuleTenant().Add(ctx, req)
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user