Merge branch 'master' of http://gitea.bugtc.com/zhouyanli/property-manager-side
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user