ASEMiniProgram/api/honor.js

21 lines
320 B
JavaScript
Raw Permalink Normal View History

2021-04-01 14:16:23 +00:00
import request from '../utils/request.js'
export const createHonor = (honor) => {
return request({
url: "/honor",
method: "post",
data: {
...honor
}
})
}
export const getHonors = (openid) => {
return request({
url: "/honor/user",
method: "get",
data: {
openid
}
})
}