ASEMiniProgram/api/document.js
2021-03-22 01:38:11 +08:00

22 lines
368 B
JavaScript

import request from '../utils/request.js'
export const getDocument = openid => {
return request({
url: "/document",
method: "get",
data: {
openid
}
})
}
export const searchDocument = (userRole, documentCode) => {
return request({
url: "/document/search",
method: "get",
data: {
userRole,
documentCode
}
})
}