import request from "/@/utils/request";
// 根据流程实例id查询专家信息
// /admin/expertInformation/getByProcessInstanceId
export const getByProcessInstanceId = (processInstanceId: any) => {
    return request({
        url: '/admin/expertInformation/getByProcessInstanceId',
        method: 'get',
        params: {
            processInstanceId
        }
    });
}
// 企业微信登录
export const loginWx = (code: any) => {
    return request({
        url: '/oauth2/token',
        method: 'post',
        data:{
            grant_type: 'wechat_work',
            code:''
        }
    });
}