import prodction from "./interface/production.js"
import materialRegister from "./interface/materialRegister.js"
import feeding from "./interface/feeding.js"
import materialLocation from "./interface/materialLocation.js"
import materialSplitOrMerge from "./interface/materialSplitOrMerge.js"
import productionIssue from "./interface/productionIssue.js"
import trestle from "./interface/trestle.js"
import box from "./interface/box.js"
import ipqc from "./interface/ipqc.js"
import oqc from "./interface/fqc.js"
import cutting from "./interface/cutting.js"
import process from "./interface/process.js"
import moldPerveser from "./interface/MES/moldPerveser.js"
import user from "./interface/MES/user.js"
import outSourceMaterial from "./interface/WMS/outSourceMaterial.js"
import returnMaterial from "./interface/WMS/returnMaterial.js"
import semiFinishedProducts from "./interface/WMS/semiFinishedProducts.js"
import deliveryNote from "./interface/WMS/deliveryNote.js"
import shipment from "./interface/MES/shipment.js"
import codeSplit from "./interface/codeSplit.js"
import codeMerge from "./interface/codeMerge.js"
import shipmentMHT from "./interface/MES/shipmentMHT.js"
import scanInOut from "./interface/scanInOut.js"
import inventory from "./interface/inventory.js"

export const api = {
	...prodction,
	...materialRegister,
	...feeding,
	...materialLocation,
	...materialSplitOrMerge,
	...productionIssue,
	...trestle,
	...box,
	...ipqc,
	...oqc,
	...cutting,
	...process,
	...moldPerveser,
	...user,
	...outSourceMaterial,
	...deliveryNote,
	...shipment,
	...returnMaterial,
	...semiFinishedProducts,
	...codeSplit,
	...codeMerge,
	...shipmentMHT,
	...scanInOut,
	...inventory,
	// 默认请求就是get请求
	login: {
		url: '/admin-api/system/auth/login',
		name: '用户登录',
		method: 'POST'
	},
	// 默认请求就是get请求
	loginInfo: {
		url: '/admin-api/system/auth/get-permission-info',
		name: '用户详情',
		method: 'GET'
	},
	// 查询字典接口
	getDictDataPage: {
		url: '/admin-api/system/dict-data/page',
		name: '字典详情',
		method: 'GET'
	},
	// 查询字典接口(全量)
	getDictDataAllPage: {
		url: '/admin-api/system/dict-data/list-all-simple',
		name: '字典列表',
		method: 'GET'
	},
	getEmployeeDetail: {
		url: '/admin-api/mes/employee-master/get',
		name: '根据员工ID(或加密后)获取员工信息',
		method: 'GET'
	},
	getEquipmentBaseDetail: {
		url: '/admin-api/etm/equipment-base/get',
		name: '根据设备ID获取设备信息',
		method: 'GET'
	},
}