1
This commit is contained in:
@@ -2,6 +2,7 @@ package controllers
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/common"
|
||||
@@ -1618,3 +1619,22 @@ func (c *StoreController) BindJxPrinter() {
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
// @Title 测试操作freight_template
|
||||
// @Description 测试操作freight_template
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID formData int true "京西门店id"
|
||||
// @Param vendorStoreID formData string false "抖音平台id"
|
||||
// @Param templateID formData int false "运费模板id"
|
||||
// @Param warehouseID formData int false "仓库id"
|
||||
// @Param fenceID formData string false "电子围栏id"
|
||||
// @Param tradeLimitID formData int false "限售模板id"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /ReplaceInsertFreight [post]
|
||||
func (c *StoreController) ReplaceInsertFreight() {
|
||||
c.callReplaceInsertFreight(func(params *tStoreReplaceInsertFreightParams) (interface{}, string, error) {
|
||||
err := cms.ReplaceInsertFreight(params.StoreID, params.TemplateID, params.WarehouseID, params.TradeLimitID, params.VendorStoreID, params.FenceID)
|
||||
return nil, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user