Commit 4b13c723 by mushishixian

优化速度

parent 9d9a5173
Showing with 3 additions and 4 deletions
......@@ -6,7 +6,6 @@ import (
"fmt"
"github.com/ichunt2019/go-rabbitmq/utils/rabbitmq"
"github.com/imroc/req"
"scm_server/cmd/queue/sync_status/product"
"scm_server/configs"
"scm_server/internal/common"
"scm_server/internal/logic"
......@@ -79,9 +78,9 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
if err = SyncGoodsData(operateType, goods); err != nil {
goto ERR
}
if err = product.SyncErpStatus("material", goods.ErpId); err != nil {
goto ERR
}
//if err = product.SyncErpStatus("material", goods.ErpId); err != nil {
// goto ERR
//}
return nil
ERR:
return logic.DealSyncError(dataByte, goods.ErpId, "goods", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment