ebai minnum
This commit is contained in:
@@ -510,6 +510,11 @@ func genSkuParamsFromStoreSkuInfo2(storeSku *dao.StoreSkuSyncInfo, isCreate, isE
|
|||||||
// if storeSku.Upc != "" {
|
// if storeSku.Upc != "" {
|
||||||
// params["upc"] = storeSku.Upc
|
// params["upc"] = storeSku.Upc
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
//测试ebai 目前未考虑称重商品
|
||||||
|
if storeSku.MinOrderCount > 0 {
|
||||||
|
params["minimum"] = utils.Int2Float64(storeSku.MinOrderCount)
|
||||||
|
}
|
||||||
return params
|
return params
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ type SyncController struct {
|
|||||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||||
// @Success 200 {object} controllers.CallResult
|
// @Success 200 {object} controllers.CallResult
|
||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
// @router /SyncStoresSkus [put]
|
// @router pay [put]
|
||||||
func (c *SyncController) SyncStoresSkus() {
|
func (c *SyncController) SyncStoresSkus() {
|
||||||
c.callSyncStoresSkus(func(params *tSyncSyncStoresSkusParams) (retVal interface{}, errCode string, err error) {
|
c.callSyncStoresSkus(func(params *tSyncSyncStoresSkusParams) (retVal interface{}, errCode string, err error) {
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
|
|||||||
Reference in New Issue
Block a user