字段打错了yybid
This commit is contained in:
@@ -212,7 +212,7 @@ type StoreSkuExt struct {
|
||||
JdID string `orm:"column(sku_jd_id);null;index" json:"jdID"`
|
||||
EbaiID string `orm:"column(ebai_id);index" json:"ebaiID"`
|
||||
MtwmID string `orm:"column(mtwm_id)" json:"mtwmID"` // 这个也不是必须的,只是为了DAO取数据语句一致
|
||||
YbID string `orm:"column(yb_id);index" json:"YybID"`
|
||||
YbID string `orm:"column(yb_id);index" json:"ybID"`
|
||||
|
||||
JdSyncStatus int8 `orm:"default(2)" json:"jdSyncStatus"`
|
||||
EbaiSyncStatus int8 `orm:"default(2)" json:"ebaiSyncStatus"`
|
||||
|
||||
@@ -187,7 +187,11 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
|
||||
|
||||
func (p *PurchaseHandler) UpdateStoreCategory(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeCat *dao.SkuStoreCatInfo) (err error) {
|
||||
if globals.EnableYbStoreWrite {
|
||||
|
||||
vendorOrgCode, err := buildYbConfigs(storeID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = api.YinBaoAPI.UpdateCategory(vendorOrgCode, storeCat.VendorCatID, storeCat.Name, storeCat.ParentCatName)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user