审查视图

pkg/domain/business_admin.go 500 字节
庄敏学 authored
1 2 3 4 5 6
package domain

import "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/infrastructure/serviceGateway/reply"

// UCenterApi 统一用户中心
type UCenterApi interface {
7
	// pc 端
庄敏学 authored
8
	AuthCode(code string) (*reply.UCenterAuthCode, error)
9 10
	//手机app端
	AppAuthCode(tokenCode string, uid int, companyId int) (*reply.UCenterAuthCode, error)
庄敏学 authored
11 12 13 14 15 16
}

// BusinessAdminApi 企业平台
type BusinessAdminApi interface {
	GetUserAuth(userId int64, platformId int) (*reply.BusinessAdminUserAuth, error)
}