29 changed files with 328 additions and 268 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushBlacklist, PushBlacklistParams, PushBlacklistResult } from '/@/api/platform/common/entity/pushBlacklist'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushBlacklist/list', |
||||
getById = '/common_proxy/common/pushBlacklist/getById', |
||||
add = '/common_proxy/common/pushBlacklist/save', |
||||
edit = '/common_proxy/common/pushBlacklist/update', |
||||
del = '/common_proxy/common/pushBlacklist/remove', |
||||
} |
||||
|
||||
export const listPushBlacklist = (params?: Partial<PushBlacklistParams>) => defHttp.get<PushBlacklistResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushBlacklist = (params: Partial<PushBlacklist>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushBlacklist = (params: Partial<PushBlacklist>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushBlacklist = (params: Partial<PushBlacklist>) => defHttp.get<PushBlacklist>({ url: Api.getById, params }); |
||||
|
||||
export const delPushBlacklist = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushChatMessage, PushChatMessageParams, PushChatMessageResult } from '/@/api/platform/common/entity/pushChatMessage'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushChatMessage/list', |
||||
get = '/common_proxy/common/pushChatMessage', |
||||
add = '/common_proxy/common/pushChatMessage/save', |
||||
edit = '/common_proxy/common/pushChatMessage/update', |
||||
del = '/common_proxy/common/pushChatMessage/remove', |
||||
} |
||||
|
||||
export const listPushChatMessage = (params?: Partial<PushChatMessageParams>) => defHttp.get<PushChatMessageResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushChatMessage = (params: Partial<PushChatMessage>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushChatMessage = (params: Partial<PushChatMessage>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushChatMessage = (id: string) => defHttp.get<PushChatMessage>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushChatMessage = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
import type { PushConcernFan, PushConcernFanParams, PushConcernFanResult } from '/@/api/platform/common/entity/pushConcernFan'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushConcernFan/list', |
||||
get = '/common_proxy/common/pushConcernFan', |
||||
audit = '/common_proxy/common/pushConcernFan/audit', |
||||
add = '/common_proxy/common/pushConcernFan/save', |
||||
edit = '/common_proxy/common/pushConcernFan/update', |
||||
del = '/common_proxy/common/pushConcernFan/remove', |
||||
} |
||||
|
||||
export const listPushConcernFan = (params?: Partial<PushConcernFanParams>) => defHttp.get<PushConcernFanResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushConcernFan = (params: Partial<PushConcernFan>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushConcernFan = (params: Partial<PushConcernFan>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushConcernFan = (id: string) => defHttp.get<PushConcernFan>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushConcernFan = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
||||
|
||||
export const auditPushConcernFan = (ids: string) => defHttp.delete({ url: `${Api.audit}/${ids}` }); |
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
import type { PushConcernFanType, PushConcernFanTypeParams, PushConcernFanTypeResult } from '/@/api/platform/common/entity/pushConcernFanType'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushConcernFanType/list', |
||||
get = '/common_proxy/common/pushConcernFanType', |
||||
add = '/common_proxy/common/pushConcernFanType/save', |
||||
edit = '/common_proxy/common/pushConcernFanType/update', |
||||
del = '/common_proxy/common/pushConcernFanType/remove', |
||||
} |
||||
|
||||
export const listPushConcernFanType = (params?: Partial<PushConcernFanTypeParams>) => defHttp.get<PushConcernFanTypeResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushConcernFanType = (params: Partial<PushConcernFanType>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushConcernFanType = (params: Partial<PushConcernFanType>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushConcernFanType = (id: string) => defHttp.get<PushConcernFanType>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushConcernFanType = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -1,25 +0,0 @@
@@ -1,25 +0,0 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushCustomType, PushCustomTypeParams, PushCustomTypeResult } from '/@/api/platform/common/entity/pushCustomType'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushCustomType/list', |
||||
add = '/common_proxy/common/pushCustomType/save', |
||||
get = '/common_proxy/common/pushCustomType', |
||||
edit = '/common_proxy/common/pushCustomType/update', |
||||
del = '/common_proxy/common/pushCustomType/remove', |
||||
} |
||||
|
||||
export const listPushCustomType = (params?: Partial<PushCustomTypeParams>) => defHttp.get<PushCustomTypeResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushCustomType = (params: Partial<PushCustomType>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushCustomType = (params: Partial<PushCustomType>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushCustomType = (id: string) => defHttp.get<PushCustomType>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushCustomType = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
import type { PushChatMessage, PushChatMessageParams, PushChatMessageResult } from '/@/api/platform/common/entity/pushChatMessage'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushEnterprise/list', |
||||
get = '/common_proxy/common/pushEnterprise', |
||||
getByUserId = '/common_proxy/common/pushEnterprise/getByUserId', |
||||
add = '/common_proxy/common/pushEnterprise/save', |
||||
edit = '/common_proxy/common/pushEnterprise/update', |
||||
del = '/common_proxy/common/pushEnterprise/remove', |
||||
revokeAuth = '/common_proxy/common/pushEnterprise/revokeAuth' |
||||
} |
||||
|
||||
export const listPushEnterprise = (params?: Partial<PushChatMessageParams>) => defHttp.get<PushChatMessageResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushEnterprise = (params: Partial<PushChatMessage>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushEnterprise = (params: Partial<PushChatMessage>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushEnterprise = (id: string) => defHttp.get<PushChatMessage>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const getPushEnterpriseByUserId = (id: string) => defHttp.get<PushChatMessage>({ url: `${Api.getByUserId}/${id}` }); |
||||
|
||||
export const revokeAuthPushEnterprise = () => defHttp.delete({ url: Api.revokeAuth }); |
||||
|
||||
export const delPushEnterprise = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -1,24 +0,0 @@
@@ -1,24 +0,0 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushFileParams, PushFileResult } from '/@/api/platform/common/entity/pushFile'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
import { UploadFileParams } from '/#/axios'; |
||||
import { UploadResult } from '/@/api/platform/core/entity/upload'; |
||||
import {useGlobSetting} from '/@/hooks/setting'; |
||||
const { apiUrl } = useGlobSetting(); |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushFile/list', |
||||
upload = '/common_proxy/common/pushFile/upload', |
||||
del = '/common_proxy/common/pushFile/remove' |
||||
} |
||||
|
||||
export const listPushFile = (params?: Partial<PushFileParams>) => defHttp.get<PushFileResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const commonUpload = (params: UploadFileParams, onUploadProgress: (progressEvent: ProgressEvent) => void) => |
||||
defHttp.uploadFile<UploadResult>({ url: apiUrl + Api.upload, onUploadProgress }, params); |
||||
|
||||
export const delPushFile = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -1,25 +0,0 @@
@@ -1,25 +0,0 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushMessageParams, PushMessageResult, PushMessage } from '/@/api/platform/common/entity/pushMessage'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushMessage/list', |
||||
add = '/common_proxy/common/pushMessage/save', |
||||
get = '/common_proxy/common/pushMessage', |
||||
edit = '/common_proxy/common/pushMessage/update', |
||||
del = '/common_proxy/common/pushMessage/remove' |
||||
} |
||||
|
||||
export const listPushMessage = (params?: Partial<PushMessageParams>) => defHttp.get<PushMessageResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushMessage = (params: Partial<PushMessage>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushMessage = (params: Partial<PushMessage>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushMessage = (id: string) => defHttp.get<PushMessage>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushMessage = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -1,25 +0,0 @@
@@ -1,25 +0,0 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushPassList, PushPassListParams, PushPassListResult } from '/@/api/platform/common/entity/pushPassList'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushPassList/list', |
||||
add = '/common_proxy/common/pushPassList/save', |
||||
get = '/common_proxy/common/pushPassList', |
||||
edit = '/common_proxy/common/pushPassList/update', |
||||
del = '/common_proxy/common/pushPassList/remove', |
||||
} |
||||
|
||||
export const listPushPassList = (params?: Partial<PushPassListParams>) => defHttp.get<PushPassListResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushPassList = (params: Partial<PushPassList>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushPassList = (params: Partial<PushPassList>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushPassList = (id: string) => defHttp.get<PushPassList>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushPassList = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
import type { PushRingtone, PushRingtoneParams, PushRingtoneResult } from '/@/api/platform/common/entity/pushRingtone'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushRingtone/list', |
||||
get = '/common_proxy/common/pushRingtone', |
||||
add = '/common_proxy/common/pushRingtone/save', |
||||
edit = '/common_proxy/common/pushRingtone/update', |
||||
del = '/common_proxy/common/pushRingtone/remove', |
||||
} |
||||
|
||||
export const listPushRingtone = (params?: Partial<PushRingtoneParams>) => defHttp.get<PushRingtoneResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushRingtone = (params: Partial<PushRingtone>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushRingtone = (params: Partial<PushRingtone>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushRingtone = (id: string) => defHttp.get<PushRingtone>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushRingtone = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushThirdParty, PushThirdPartyParams, PushThirdPartyResult } from '/@/api/platform/common/entity/pushThirdParty'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushThirdParty/list', |
||||
add = '/common_proxy/common/pushThirdParty/save', |
||||
get = '/common_proxy/common/pushThirdParty', |
||||
getByUserId = '/common_proxy/common/pushThirdParty/getByUserId', |
||||
edit = '/common_proxy/common/pushThirdParty/update', |
||||
del = '/common_proxy/common/pushThirdParty/remove', |
||||
revokeAuth = '/common_proxy/common/pushThirdParty/revokeAuth' |
||||
} |
||||
|
||||
export const listPushThirdParty = (params?: Partial<PushThirdPartyParams>) => defHttp.get<PushThirdPartyResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushThirdParty = (params: Partial<PushThirdParty>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushThirdParty = (params: Partial<PushThirdParty>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushThirdParty = (id: string) => defHttp.get<PushThirdParty>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const getPushThirdPartyByUserId = (id: string) => defHttp.get<PushThirdParty>({ url: `${Api.getByUserId}/${id}` }); |
||||
|
||||
export const delRevokeAuth = () => defHttp.delete({ url: Api.revokeAuth }); |
||||
|
||||
export const delPushThirdParty = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
import type { PushType, PushTypeParams, PushTypeResult } from '/@/api/platform/common/entity/pushType'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushType/list', |
||||
get = '/common_proxy/common/pushType', |
||||
add = '/common_proxy/common/pushType/save', |
||||
edit = '/common_proxy/common/pushType/update', |
||||
del = '/common_proxy/common/pushType/remove', |
||||
} |
||||
|
||||
export const listPushType = (params?: Partial<PushTypeParams>) => defHttp.get<PushTypeResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushType = (params: Partial<PushType>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushType = (params: Partial<PushType>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushType = (id: string) => defHttp.get<PushType>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushType = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -1,25 +0,0 @@
@@ -1,25 +0,0 @@
|
||||
/** |
||||
* 提供api模板规范代码参考,请尽量保证编写代码风格跟模板规范代码一致 |
||||
* Copyright © 2020-2022 <a href="http://www.entfrm.com/">entfrm</a> All rights reserved. |
||||
* author entfrm开发团队-王翔 |
||||
*/ |
||||
import type { PushUserManage, PushUserManageParams, PushUserManageResult } from '/@/api/platform/common/entity/pushUserManage'; |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
enum Api { |
||||
list = '/common_proxy/common/pushUserManage/list', |
||||
add = '/common_proxy/common/pushUserManage/save', |
||||
get = '/common_proxy/common/pushUserManage', |
||||
edit = '/common_proxy/common/pushUserManage/update', |
||||
del = '/common_proxy/common/pushUserManage/remove', |
||||
} |
||||
|
||||
export const listPushUserManage = (params?: Partial<PushUserManageParams>) => defHttp.get<PushUserManageResult>({ url: Api.list, params }, { isReturnResultResponse: true }); |
||||
|
||||
export const addPushUserManage = (params: Partial<PushUserManage>) => defHttp.post({ url: Api.add, data: params }); |
||||
|
||||
export const editPushUserManage = (params: Partial<PushUserManage>) => defHttp.put({ url: Api.edit, data: params }); |
||||
|
||||
export const getPushUserManage = (id: string) => defHttp.get<PushUserManage>({ url: `${Api.get}/${id}` }); |
||||
|
||||
export const delPushUserManage = (ids: string) => defHttp.delete({ url: `${Api.del}/${ids}` }); |
@ -0,0 +1,31 @@
@@ -0,0 +1,31 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushBlacklistParams = Page & PushBlacklist; |
||||
|
||||
export interface PushBlacklist { |
||||
concernUserId: string; |
||||
fanUserId: string; |
||||
deptName: string; |
||||
createByName: string; |
||||
updateByName: string; |
||||
nickName: string; |
||||
sex: string; |
||||
deptId: string; |
||||
updateTime: string; |
||||
avatar: string; |
||||
userName: string; |
||||
updateById: string; |
||||
loginTime: string; |
||||
phone: string; |
||||
createTime: string; |
||||
loginIp: string; |
||||
createById: string; |
||||
userType: string; |
||||
email: string; |
||||
remarks: string; |
||||
status: string; |
||||
[key:string]: any; |
||||
} |
||||
|
||||
export type PushBlacklistResult = R<PushBlacklist[]>; |
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushChatMessageParams = Page & PushChatMessage; |
||||
|
||||
export interface PushChatMessage { |
||||
id: string; |
||||
userId: string; |
||||
pushUserId: string; |
||||
type: string; |
||||
status: string; |
||||
pushTypeId: string; |
||||
aliasType: string; |
||||
alias: string; |
||||
displayType: string; |
||||
title: string; |
||||
text: string; |
||||
sound: string; |
||||
playVibrate: string; |
||||
playLights: string; |
||||
playSound: string; |
||||
onlineRingtone: string; |
||||
custom: string; |
||||
[key:string]: any; |
||||
} |
||||
|
||||
export type PushChatMessageResult = R<PushChatMessage[]>; |
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushConcernFanParams = Page & PushConcernFan; |
||||
|
||||
export interface PushConcernFan { |
||||
id: string; |
||||
deptName: string; |
||||
createByName: string; |
||||
updateByName: string; |
||||
nickName: string; |
||||
concernUserId: string; |
||||
sex: string; |
||||
deptId: string; |
||||
fanUserId: string; |
||||
updateTime: string; |
||||
fanCreateTime: string; |
||||
avatar: string; |
||||
userName: string; |
||||
updateById: string; |
||||
loginTime?: string; |
||||
phone: string; |
||||
createTime: string; |
||||
loginIp: string; |
||||
fanRemarks?: string; |
||||
createById: string; |
||||
userType: string; |
||||
email: string; |
||||
remarks: string; |
||||
status: string; |
||||
[key:string]: any; |
||||
} |
||||
|
||||
export type PushConcernFanResult = R<PushConcernFan[]>; |
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushConcernFanTypeParams = Page & PushConcernFanType; |
||||
|
||||
export interface PushConcernFanType { |
||||
id: string; |
||||
name: string; |
||||
userId: string; |
||||
typeId: string; |
||||
defaultType: string; |
||||
playSound: string; |
||||
playVibrate: string; |
||||
playLights: string; |
||||
playToText: string; |
||||
onlineRingtone: string; |
||||
offlineRingtone: string; |
||||
[key:string]: any; |
||||
} |
||||
|
||||
export type PushConcernFanTypeResult = R<PushConcernFanType[]>; |
@ -1,15 +0,0 @@
@@ -1,15 +0,0 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushCustomTypeParams = Page & PushCustomType; |
||||
|
||||
export interface PushCustomType extends CommonEntity { |
||||
id: string; |
||||
name: string; |
||||
playSound: string; |
||||
playVibrate: string; |
||||
playLights: string; |
||||
customPlayFileName: string; |
||||
} |
||||
|
||||
export type PushCustomTypeResult = R<PushCustomType[]>; |
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushEnterpriseParams = Page & PushEnterprise; |
||||
|
||||
export interface PushEnterprise extends CommonEntity { |
||||
id: string; |
||||
name: string; |
||||
repName: string; |
||||
phone: string; |
||||
license: string; |
||||
userId: string; |
||||
creditCode: string; |
||||
idCard: string; |
||||
status: string; |
||||
detailedAddress: string; |
||||
[key:string]: any; |
||||
} |
||||
|
||||
export type PushEnterpriseResult = R<PushEnterprise[]>; |
@ -1,17 +0,0 @@
@@ -1,17 +0,0 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushFileParams = Page & PushFile; |
||||
|
||||
export interface PushFile extends CommonEntity { |
||||
id: string; |
||||
fileUrl: string; |
||||
fileName: string; |
||||
bucketName: string; |
||||
original: string; |
||||
type: string; |
||||
fileSize: number; |
||||
[key: string]: any; |
||||
} |
||||
|
||||
export type PushFileResult = R<PushFile[]>; |
@ -1,26 +0,0 @@
@@ -1,26 +0,0 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushMessageParams = Page & PushMessage; |
||||
|
||||
export interface PushMessage extends CommonEntity { |
||||
id: string; |
||||
fromUserId: string; |
||||
type: string; |
||||
customTypeId: string; |
||||
status: string; |
||||
aliasType: string; |
||||
alias: string; |
||||
displayType: string; |
||||
title: string; |
||||
text: string; |
||||
sound: string; |
||||
playVibrate: string; |
||||
playLights: string; |
||||
playSound: string; |
||||
customPlayFileName: string; |
||||
custom: string; |
||||
[key: string]: any; |
||||
} |
||||
|
||||
export type PushMessageResult = R<PushMessage[]>; |
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushPassListParams = Page & PushPassList; |
||||
|
||||
export interface PushPassList extends CommonEntity { |
||||
id: string; |
||||
fromPushId: string; |
||||
toPushId: string; |
||||
type: string; |
||||
} |
||||
|
||||
export type PushPassListResult = R<PushPassList[]>; |
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushRingtoneParams = Page & PushRingtone; |
||||
|
||||
export interface PushRingtone extends CommonEntity { |
||||
id: string; |
||||
name: string; |
||||
ringtone: string; |
||||
[key:string]: any; |
||||
} |
||||
|
||||
export type PushRingtoneResult = R<PushRingtone[]>; |
@ -1,19 +0,0 @@
@@ -1,19 +0,0 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushThirdPartyParams = Page & PushThirdParty; |
||||
|
||||
export interface PushThirdParty extends CommonEntity { |
||||
id: string; |
||||
statutoryRepName: string; |
||||
idCard: string; |
||||
entName: string; |
||||
licenseFileId: string; |
||||
phone: string; |
||||
creditCode: string; |
||||
userId: string; |
||||
detailedAddress: string; |
||||
status: string; |
||||
} |
||||
|
||||
export type PushThirdPartyResult = R<PushThirdParty[]>; |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushTypeParams = Page & PushType; |
||||
|
||||
export interface PushType extends CommonEntity { |
||||
id: string; |
||||
name: string; |
||||
playSound: string; |
||||
playVibrate: string; |
||||
playLights: string; |
||||
playToText: string; |
||||
onlineRingtone: string; |
||||
offlineRingtone: string; |
||||
[key:string]: string; |
||||
} |
||||
|
||||
export type PushTypeResult = R<PushType[]>; |
@ -1,18 +0,0 @@
@@ -1,18 +0,0 @@
|
||||
import type { R } from '/#/axios'; |
||||
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
||||
|
||||
export type PushUserManageParams = Page & PushUserManage; |
||||
|
||||
export interface PushUserManage extends CommonEntity { |
||||
id: string; |
||||
toUserId: string; |
||||
fromUserId: string; |
||||
userName: string; |
||||
status: string; |
||||
playSound: string; |
||||
playVibrate: string; |
||||
playLights: string; |
||||
type: string; |
||||
} |
||||
|
||||
export type PushUserManageResult = R<PushUserManage[]>; |
Loading…
Reference in new issue