fix: 添加梅花易数API接口
- 在api.js中添加meihuaApi - 支持梅花易数排盘API调用 - 修复梅花易数模块点击测算报错问题
This commit is contained in:
1 parent
3d091a89d7
commit
d4c54ecbe5
1 file changed
+25
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user