This commit is contained in:
gazebo
2019-11-05 18:08:40 +08:00
parent 444e3dadd9
commit 5512efaaf5
3 changed files with 3 additions and 3 deletions

View File

@@ -443,7 +443,7 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus bo
t4.sub_store_id, t4.price bind_price, IF(t4.unit_price IS NOT NULL, t4.unit_price, t1.price) unit_price, t4.status store_sku_status, t4.auto_sale_at,
t4.ebai_id, t4.mtwm_id,
t4.jd_sync_status, t4.ebai_sync_status, t4.mtwm_sync_status,
t4.jd_price, t4.ebai_price, t4.mtwm_price, t4.wsc_price
t4.jd_price, t4.ebai_price, t4.mtwm_price
` + sql
var tmpList []*tGetStoresSkusInfo
beginTime := time.Now()

View File

@@ -152,7 +152,7 @@ func (c *SkuController) SyncCategory() {
// @Param isBySku query bool false "是否将sku拆开缺省为false"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetSkuNames [get]
// @router /GetSkuNames [get,post]
func (c *SkuController) GetSkuNames() {
c.callGetSkuNames(func(params *tSkuGetSkuNamesParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetSkuNames(params.Ctx, params.Keyword, params.IsBySku, params.MapData, params.Offset, params.PageSize)

View File

@@ -1084,7 +1084,7 @@ func init() {
beego.ControllerComments{
Method: "GetSkuNames",
Router: `/GetSkuNames`,
AllowHTTPMethods: []string{"get"},
AllowHTTPMethods: []string{"get","post"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})