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 }) }