1
This commit is contained in:
@@ -6102,3 +6102,7 @@ func BatchCreateFreeShipTemplate(relInfo map[string][]tiktok_store.RelInfo, ship
|
||||
}
|
||||
return "", nil
|
||||
}
|
||||
|
||||
func GetVendorStoreBind(vendorStoreId string, vendorId int) (string, error) {
|
||||
return dao.GetCodeAndIDByMeiTuan(vendorStoreId, vendorId)
|
||||
}
|
||||
|
||||
@@ -6642,7 +6642,7 @@ func SyncTiktokMainIdToLocal(ctx *jxcontext.Context, param *tiktok_store.MainSku
|
||||
func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmapi.SpuData) error {
|
||||
var params []*mtwmapi.SpuData
|
||||
for k, v := range preData {
|
||||
if storeID, err := dao.GetCodeAndIDByMeiTuan(k); err != nil {
|
||||
if storeID, err := dao.GetCodeAndIDByMeiTuan(k, model.VendorIDMTWM); err != nil {
|
||||
return errors.New(fmt.Sprintf("获取京西本地门店ID失败:%v 请重试", err))
|
||||
} else {
|
||||
for _, i := range v {
|
||||
|
||||
Reference in New Issue
Block a user