Feat(店铺):分享功能对接

This commit is contained in:
lifizer
2024-06-26 18:10:42 +08:00
parent 28ffaee0ce
commit 6f3e25ab64
2 changed files with 23 additions and 2 deletions
+9 -1
View File
@@ -219,4 +219,12 @@ export function setTopHotelNew(data) {
return request.post("/api/hotelNews/setIsTop", data, {
login: true
});
}
}
/**
* 店铺转发分享背景图片
* @param id 店铺ID int
* */
export function getHotelShareBackgroundImage(id) {
return request.get("/api/hotelMain/shareBackgroundImage/" + id, {}, {login: true})
}