You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.0 KiB

3 years ago
import request from "@/utils/request";
/**
* 获取祈福灯列表
*/
export function getLightList(data) {
return request.post("/BlessingLamp/listBlessingLamp", data);
}
/**
* 获取祈福灯广场
*/
export function blessingList(data) {
return request.get("/Blessing/blessingList?type="+data);
}
/**
* 获取我的祈福灯
*/
export function myBlessings(data) {
return request.get("/Blessing/myBlessings");
}
/**
* 为他人祈福
*/
export function blessingOthers(data) {
return request.post("/Blessing/blessingOthers",data);
}
/**
* 获取祈福灯详情
*/
export function blessingLampDetail(data) {
return request.get("/BlessingLamp/blessingLampDetail?id=" + data);
}
/**
* 点灯
*/
export function addBlessing(data) {
return request.post("/Blessing/addBlessing", data);
}
/**
* 万年历
*/
export function getWanniali(data) {
3 years ago
return request.get("/Wannianli/getWanniali?date="+data);
3 years ago
}
/**
* 点灯开关
*/
export function getBlessingFlag(data) {
return request.get("/getBlessingFlag", data);
}