business_admin.go
500 字节
package domain
import "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/infrastructure/serviceGateway/reply"
// UCenterApi 统一用户中心
type UCenterApi interface {
// pc 端
AuthCode(code string) (*reply.UCenterAuthCode, error)
//手机app端
AppAuthCode(tokenCode string, uid int, companyId int) (*reply.UCenterAuthCode, error)
}
// BusinessAdminApi 企业平台
type BusinessAdminApi interface {
GetUserAuth(userId int64, platformId int) (*reply.BusinessAdminUserAuth, error)
}