fuliqi
2024-01-24 29c1e7eb5ac16e90d8991a86c1c071bc312ec8d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
import service from './service'
// 分单策略api
 
export class SubmenuTacticsApi {
  //保存策略
  save = (params) => {
    return service.post('/awl-order-service/orderSplitStrategy/save', params)
  };
  // 获取当前策略信息
  details = (params, showLoading = true) => {
    return service.get(`/awl-order-service/orderSplitStrategy/getCurrentStartegy`, { showLoading })
  };
  // 查询历史分单策略
  historyStartegyInfo = (params) => {
    return service.get(`/awl-order-service/orderSplitStrategy/queryAndPage?pageNum=${params.pageNum}&pageSize=${params.pageSize}`)
  }
  //查询多规格商品列表信息 - 分页
  queryPageForAwl = (params, showLoading = true) => {
    return service.get(`/awl-order-service/orderSplitStrategy/ecProductSku/queryPageForAwl`, { params, showLoading })
  }
  //查询多规格商品列表信息 - 不分页
  queryListForAwl = (params) => {
    return service.post(`/awl-order-service/orderSplitStrategy/ecProductSku/queryListForAwl`, params)
  }
}
export default new SubmenuTacticsApi()