添加抖音授权登录,国美测试接口,修改运单重复骑手,添加推送骑手信息
This commit is contained in:
@@ -62,6 +62,8 @@ func (a *APIManager) GetAPI(vendorID int, appOrgCode string) (pfAPI interface{})
|
||||
pfAPI = api.EbaiAPI
|
||||
case model.VendorIDJDShop:
|
||||
pfAPI = api.JdShopAPI
|
||||
case model.VendorGoMei:
|
||||
pfAPI = api.GuoMeiApi
|
||||
}
|
||||
return pfAPI
|
||||
}
|
||||
@@ -80,6 +82,8 @@ func (a *APIManager) GetAppOrgCodeList(vendorID int) (appOrgCodeList []string) {
|
||||
appOrgCodeList = []string{api.EbaiAPI.GetSource()}
|
||||
case model.VendorIDJDShop:
|
||||
appOrgCodeList = []string{"2"}
|
||||
case model.VendorGoMei:
|
||||
appOrgCodeList = []string{api.GuoMeiApi.GetAppKey()}
|
||||
}
|
||||
return appOrgCodeList
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user