import { axios } from '@/utils/request'

// 促销活动  有分页
export const shopPromoProductList = (params) => {
  const url = `/shopPromoProduct/queryPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios({
    url: url,
    data: params,
    method: 'post',
    headers: {
      'module': encodeURIComponent('列表查询')
    }
  })
}
