feat:完善信息
This commit is contained in:
19
app/enterprise/api/tenant.go
Normal file
19
app/enterprise/api/tenant.go
Normal file
@ -0,0 +1,19 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"SciencesServer/app/basic/api"
|
||||
"SciencesServer/app/enterprise/controller/tenant"
|
||||
"SciencesServer/app/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type Tenant struct{}
|
||||
|
||||
func (a *Tenant) SettledCompany(c *gin.Context) {
|
||||
err := tenant.NewSettled()(api.GetSession()(c).(*service.SessionEnterprise)).Company(nil, nil)
|
||||
api.APIResponse(err)(c)
|
||||
}
|
||||
|
||||
func (a *Tenant) SettledExpert(c *gin.Context) {
|
||||
|
||||
}
|
Reference in New Issue
Block a user