1
This commit is contained in:
@@ -62,8 +62,6 @@ 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
|
||||
case model.VendorIDTT:
|
||||
pfAPI = api.TiktokApi
|
||||
}
|
||||
@@ -84,8 +82,6 @@ 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