【前端】印包客app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.1 KiB

import http from '../utils/http/index.js'
/**
* 保存工厂信息
*
*/
export function saveFactoryInfo(data = {}) {
return http.post({
url: '/yyt-uec/save/my/factory/information',
data
})
}
/**
* 保存个人角色信息
*
*/
export function savePersonalInfo(data = {}) {
return http.post({
url: '/yyt-uec/complete/my/personal/info',
data
})
}
/**
* 查询工厂信息
*
*/
export function getFactoryInfo(data = {}) {
return http.get({
url: `/yyt-uec/get/factory/information/${data.id}`,
data
})
}
/**
* 获取工厂直印列表
*/
export function getFactoryList(data = {}) {
return http.get({
url: `/base-paper-trading/get/packaging/enterprise/list/page`,
data
})
}
/**
* 获取样品盒关联工厂列表
*/
export function getAffiliatedFactoryList(data = {}) {
return http.get({
url: `/base-paper-trading/get/sample/box/relevance/enterprise/list/page`,
data
})
}
/**
* 获取工厂客户案例
*/
export function getCaseList(data = {}) {
return http.get({
url: `/yyt-uec/get/enterprise/product/case/page`,
data
})
}