20 lines
414 B
Go
20 lines
414 B
Go
![]() |
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) {
|
||
|
|
||
|
}
|