aa
This commit is contained in:
@@ -749,7 +749,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorID int,
|
||||
OrderLimit: 1,
|
||||
DayLimit: -1,
|
||||
SettingType: mtwmapi.SettingTypeAsDiscount,
|
||||
DiscountCoefficient: float64(act.PricePercentage) / float64(100),
|
||||
DiscountCoefficient: float64(act.PricePercentage) / float64(10),
|
||||
})
|
||||
}
|
||||
actResult, faileInfoList, _ := api.MtwmAPI.RetailDiscountBatchSave2(storeDetail.VendorStoreID, mtwmapi.RetailActTypeDirectDown, actData)
|
||||
|
||||
@@ -82,3 +82,14 @@ func (*ImMessageRecord) TableIndex() [][]string {
|
||||
[]string{"VendorOrderID"},
|
||||
}
|
||||
}
|
||||
|
||||
type DepotKnowledge struct {
|
||||
ModelIDCULD
|
||||
|
||||
Title string `json:"title"` //标题
|
||||
Content string `json:"content"` //每条知识的内容
|
||||
}
|
||||
|
||||
type DepotMedia struct {
|
||||
ModelIDCULD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user