添加平台常量
This commit is contained in:
parent
16308a1f62
commit
be0e8ba9c4
12
index.go
12
index.go
@ -9,6 +9,18 @@ import (
|
||||
meituanunion "gitee.com/chengdu-lenntc/third-platform-sdk/platform/meituan-union"
|
||||
)
|
||||
|
||||
// Platform 第三方平台
|
||||
const (
|
||||
// PlatformElemeUnion 饿了么联盟
|
||||
PlatformElemeUnion = "ele"
|
||||
// PlatformMeituanCsr 美团分销联盟
|
||||
PlatformMeituanCsr = "meituan_csr"
|
||||
// PlatformMeituanUnion 美团联盟
|
||||
PlatformMeituanUnion = "meituan_union"
|
||||
// PlatformDidiUnion 滴滴联盟
|
||||
PlatformDidiUnion = "didi_union"
|
||||
)
|
||||
|
||||
// NewElemeUnionApi 饿了么联盟
|
||||
func NewElemeUnionApi(log logx.Logger, conf elemeunion.AuthConfig) elemeunion.ElemeUnionApi {
|
||||
return elemeunion.NewApiClient(log, conf)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user