| 12345678910111213141516171819202122232425 |
- /**
- */
- import { request } from '../../utils/request'
- /**
- * 获取通知消息
- */
- export const getMyNotify = (userId: string): Promise<any> => {
- let url = `/mobile/notify/${userId}`
- return request({
- url: url,
- method: 'GET'
- })
- }
- /**
- * 注册设备
- */
- export const registerServer = (cid: string): Promise<any> => {
- let url = `/push/register/${cid}`
- return request({
- url: url,
- method: 'GET',
- })
- }
|