ASEMiniProgram/api/document.js

22 lines
368 B
JavaScript
Raw Normal View History

import request from '../utils/request.js'
export const getDocument = openid => {
return request({
url: "/document",
method: "get",
data: {
openid
}
})
2021-03-21 17:38:11 +00:00
}
export const searchDocument = (userRole, documentCode) => {
return request({
url: "/document/search",
method: "get",
data: {
userRole,
documentCode
}
})
}