订单新消息修改

This commit is contained in:
苏尹岚
2020-05-25 10:43:42 +08:00
parent 4b53553a10
commit fc988c1253
2 changed files with 10 additions and 4 deletions

View File

@@ -104,6 +104,9 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
CategoryName: jdshopapi.JdsStoreCategoryName,
CustomerID: utils.Int2Str(store.ID),
}
if store.JdsStreetCode != 0 {
createEntityStoreParam.AddCode = store.JdsStreetCode
}
vendorStoreID, err = api.JdShopAPI.CreateEntityStore(createEntityStoreParam)
return vendorStoreID, err
}