This commit is contained in:
邹宗楠
2023-06-29 17:54:48 +08:00
parent dcb4b59b0c
commit 7ce75a1354
2 changed files with 8 additions and 17 deletions

View File

@@ -213,15 +213,6 @@ func getAPI(appOrgCode string, storeID int, vendorStoreID string) (apiObj *tao_v
if appOrgCode == "" {
globals.SugarLogger.Debugf("getAPI appOrgCode is empty")
}
//apiObj = partner.CurAPIManager.GetAPI(model.VendorIDTaoVegetable, appOrgCode).(*tao_vegetable.API)
//var storeDetail *dao.StoreDetail
//if storeID != model.NO {
// storeDetail, _ = dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDTaoVegetable, appOrgCode)
//} else if vendorStoreID != "" {
// storeDetail, _ = dao.GetStoreDetailByVendorStoreID(dao.GetDB(), vendorStoreID, model.VendorIDTaoVegetable, appOrgCode)
//}
//if storeDetail != nil {
// apiObj.SetToken(storeDetail.MtwmToken)
//}
apiObj = partner.CurAPIManager.GetAPI(model.VendorIDTaoVegetable, appOrgCode).(*tao_vegetable.API)
return apiObj
}