diff --git a/xuan-deduct-uniapp/src/utils/api.js b/xuan-deduct-uniapp/src/utils/api.js index c6dcb5a..4669c1b 100644 --- a/xuan-deduct-uniapp/src/utils/api.js +++ b/xuan-deduct-uniapp/src/utils/api.js @@ -173,6 +173,30 @@ const taLuoApi = { } } +const meihuaApi = { + paiPan: (data) => { + return request({ + url: '/meihua/paipan', + method: 'POST', + data: { + name: data.name || '某人', + occupy: data.occupy || '某事', + sex: data.sex || 1, + date: data.date, + dateType: data.dateType || 0, + leapMonthType: data.leapMonthType || 0, + xuShiSuiType: data.xuShiSuiType || 0, + jieQiType: data.jieQiType || 1, + yearGanZhiType: data.yearGanZhiType || 2, + monthGanZhiType: data.monthGanZhiType || 1, + dayGanZhiType: data.dayGanZhiType || 0, + paiPanType: data.paiPanType || 0, + shu: data.shu || 0 + } + }) + } +} + const recordApi = { save: (data) => { return request({ @@ -312,6 +336,7 @@ export default { ziweiApi, zhanxingApi, taLuoApi, + meihuaApi, recordApi, toolApi, userApi,