6/10合并最新代码

This commit is contained in:
Zy
2026-06-10 09:17:56 +08:00
parent 43d7d1b911
commit f2c5012a28
8 changed files with 63 additions and 36 deletions

View File

@@ -3,7 +3,7 @@
* @Author: Zy
* @Date: 2026-05-15 11:37:01
* @LastEditor: Zy
* @LastEditTime: 2026-05-19 16:32:46
* @LastEditTime: 2026-06-09 11:19:15
*/
import request, {
get,
@@ -80,3 +80,24 @@ export function getVillageHouseList_keyword(data, searchValue = '') {
export function uploadFile(file) {
return post('/resource/oss/upload', file)
}
/**
* @typedef pushData data
* @property {string} userid 用户id
* @property {string} channel resident 居民端 buttler 管家端
* @property {string} title 推送标题
* @property {string} content 推送内容
*/
/**
* @description: 单推接口
* @param {pushData} data
* @return
*/
export function PushSingle(data) {
return post("/api/push/single", {
userid: 'xxx',
channel: "buttler",
title: data.title,
content: data.content
})
}