去除JdStoreInfoCoordinateRecover中对于JdAPI的直接依赖

This commit is contained in:
gazebo
2019-12-12 11:41:02 +08:00
parent 96dd367d65
commit a9f18ab056
3 changed files with 9 additions and 3 deletions

View File

@@ -26,6 +26,10 @@ func getAPI(appOrgCode string) (apiObj *jdapi.API) {
return partner.CurAPIManager.GetAPI(model.VendorIDJD, appOrgCode).(*jdapi.API)
}
func GetAPI(appOrgCode string) (apiObj *jdapi.API) {
return getAPI(appOrgCode)
}
func appKey2OrgCode(appKey string) (vendorOrgCode string) {
apiList := partner.CurAPIManager.GetAppOrgCodeList(model.VendorIDJD)
for _, v := range apiList {