12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- 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
- })
- }
- pullKmallStoreInvemng
- // 拉取kmall的所有商品数据
- export function pullKmallStoreInvemng(query,loading,_this) {
- return request({
- url: '/biz/mallshopmng/pullKmallStoreInveMng',
- method: 'POST',
- params: query,
- timeout: 3600 * 1000
- }).then(function (response) {
- loading.close();
- _this.$alert("拉取成功...");
- }).catch(function () {
- loading.close();
- _this.$alert("拉取异常...");
- })
- }
|