1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import request from '@/utils/request'
- // 查询商户店面库存,包括跨境,一般贸易列表
- export function listMallshopmng(query) {
- return request({
- url: '/biz/mallshopmng/list',
- method: 'get',
- params: query
- })
- }
- // 查询商户店面库存,包括跨境,一般贸易详细
- export function getMallshopmng(shopInveSn) {
- return request({
- url: '/biz/mallshopmng/' + shopInveSn,
- method: 'get'
- })
- }
- // 新增商户店面库存,包括跨境,一般贸易
- export function addMallshopmng(data) {
- return request({
- url: '/biz/mallshopmng',
- method: 'post',
- data: data
- })
- }
- // 修改商户店面库存,包括跨境,一般贸易
- export function updateMallshopmng(data) {
- return request({
- url: '/biz/mallshopmng',
- method: 'put',
- data: data
- })
- }
- // 删除商户店面库存,包括跨境,一般贸易
- export function delMallshopmng(shopInveSn) {
- return request({
- url: '/biz/mallshopmng/' + shopInveSn,
- method: 'delete'
- })
- }
- // 导出商户店面库存,包括跨境,一般贸易
- export function exportMallshopmng(query) {
- return request({
- url: '/biz/mallshopmng/export',
- method: 'get',
- params: query
- })
- }
- // 拉取kmall的所有商品数据
- export function pullKmallStoreInvemng(query, _this) {
- return request({
- url: '/biz/mallshopmng/pullKmallStoreInveMng',
- method: 'POST',
- params: query,
- timeout: 3600 * 1000,
- loading: document.body
- }).then(function (response) {
- _this.$alert("拉取成功...");
- }).catch(function () {
- _this.$alert("拉取异常...");
- })
- }
|