This commit is contained in:
邹宗楠
2022-08-28 20:36:58 +08:00
parent afc0a82ad5
commit 8e49965288
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ func TestGetOrderStatus(t *testing.T) {
}
func TestListOrders(t *testing.T) {
result, err := CurPurchaseHandler.ListOrders(jxcontext.AdminCtx, "", nil, time.Now(), "4626746")
result, err := CurPurchaseHandler.ListOrders(jxcontext.AdminCtx, "5873", nil, time.Now(), "14038247")
if err != nil {
t.Fatal(err)
}

View File

@@ -79,7 +79,8 @@ func (a *APIManager) GetAppOrgCodeList(vendorID int) (appOrgCodeList []string) {
appOrgCodeList = append(appOrgCodeList, v.VendorOrgCode)
}
case model.VendorIDMTWM:
appOrgCodeList = []string{api.MtwmAPI.GetAppID(), api.Mtwm2API.GetAppID()}
//appOrgCodeList = []string{api.MtwmAPI.GetAppID(), api.Mtwm2API.GetAppID()}
appOrgCodeList = []string{api.Mtwm2API.GetAppID()}
case model.VendorIDEBAI:
appOrgCodeList = []string{api.EbaiAPI.GetSource()}
case model.VendorIDJDShop: