正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -116,6 +116,10 @@ func (s SyncOrderService) SyncOrderFromBestshop(cmd command.CreateOrderFromBests | @@ -116,6 +116,10 @@ func (s SyncOrderService) SyncOrderFromBestshop(cmd command.CreateOrderFromBests | ||
116 | if err != nil { | 116 | if err != nil { |
117 | return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error()) | 117 | return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error()) |
118 | } | 118 | } |
119 | + if cmd.PartnerId <= 0 { | ||
120 | + logs.Info("[SyncOrderFromBestshop] PartnerId<=0 ,不复制订单数据") | ||
121 | + return nil | ||
122 | + } | ||
119 | err = s.copyOrderBestshopToOrderBase(&order) | 123 | err = s.copyOrderBestshopToOrderBase(&order) |
120 | return err | 124 | return err |
121 | } | 125 | } |
-
请 注册 或 登录 后发表评论