1
This commit is contained in:
@@ -110,7 +110,7 @@ func getActivityCount(api *mtwmapi.API, vendorStoreId string) (int, int) {
|
||||
// 获取美团活动
|
||||
directList, _ := api.RetailDiscountList(vendorStoreId, mtwmapi.RetailActTypeDirectDown) // 折扣活动
|
||||
for _, v := range directList {
|
||||
if v.ActPrice/v.OriginalPrice >= 3.01 {
|
||||
if v.ActPrice/v.OriginalPrice*10 >= 3.01 {
|
||||
threefoldUp++
|
||||
} else {
|
||||
threefoldDown++
|
||||
|
||||
@@ -732,7 +732,7 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
|
||||
if len(failedList) > 0 {
|
||||
err = nil
|
||||
}
|
||||
|
||||
model.OrderPay{}
|
||||
// 改价的同时去修改报价门店的进货价
|
||||
storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDMTWM, "")
|
||||
spuList := make([]*mtwmapi.SpuData, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user