// 后端接口集合
import {
    request
} from './request.js'

// 查看微信用户是否绑定管理系统
export function isBind(data) {
    return request("/wx/login/isBind", data)
}

// 获取用户基本信息(菜单访问权限,用户id,用户名,角色权限字符)
export function getInfo(data) {
    return request("/wx/login/getUserInfo", data)
}

// 用户名、密码、openid登录
export function usernameLogin(data) {
    return request("/wx/login/usernameLogin", data)
}

// 生成二维码列表
export function getMaterialGroupList(data) {
    return request("/wx/createQrcode/getMaterialGroupList", data)
}

// 选择入库单页面列表
export function getPurchaseByMaterialIdList(data) {
    return request("/wx/createQrcode/getPurchaseByMaterialIdList", data)
}


// 添加二维码
export function addBatch(data) {
    return request("/wx/createQrcode/addBatch", data)
}