You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
357 lines
11 KiB
357 lines
11 KiB
// |
|
// UIURL.h |
|
// LekangGuard |
|
// |
|
// Created by ecell on 2022/10/10. |
|
// |
|
|
|
#ifndef UIURL_h |
|
#define UIURL_h |
|
|
|
#pragma mark -----------------------------------登录注册模块----------------------------------- |
|
|
|
/// 注册 |
|
#define Register_URL @"/user/send/register" |
|
|
|
/// 获取验证码 |
|
#define EmailCode_URL @"/sms/smsCaptcha" |
|
|
|
/// 忘记密码 |
|
#define UpdatePwd_URL @"/user/send/updatePwd" |
|
|
|
/// 登录 |
|
#define UserLogin_URL @"/user/send/login" |
|
|
|
/// 获取国家 |
|
#define Country_URL @"/getway/accounts/country" |
|
|
|
/// 微信免密登入-微信登入-微信对接 |
|
#define WechatLogin_URL @"/user/wechat/login" |
|
|
|
/// 验证码登录 |
|
#define AuthCodeLigin_URL @"/user/authCode/login" |
|
|
|
|
|
|
|
#pragma mark -----------------------------------绑定设备模块----------------------------------- |
|
/// 绑定设备/添加设备 |
|
#define AddDevice_URL @"/app/device/binding/add/device" |
|
|
|
/// 判断该设备是否已经有管理员 |
|
#define ScanDevice_URL @"/app/device/binding/scanDevice" |
|
|
|
|
|
/// 申请关注 |
|
#define SendAccount_URL @"/app/device/binding/send/account" |
|
|
|
///// 添加设备 |
|
//#define AddDevice_URL @"/app/device/binding/add/device" |
|
|
|
|
|
#pragma mark -----------------------------------首页模块----------------------------------- |
|
/// 获取已绑定设备列表 |
|
#define BindDevice_URL @"/app/device/show/bindDevice" |
|
|
|
|
|
/// 首页banner |
|
#define Home_banner_URL @"/home_banner/home/list" |
|
|
|
/// 获取设备最新位置信息 |
|
#define Latest_location_app_URL @"/latest-location-app/last/location" |
|
|
|
/// 主动请求位置下发 |
|
#define Latest_location_app_instructions_URL @"/latest-location-app/last/location/instructions" |
|
|
|
|
|
/// 开始测量心率/体温 |
|
#define CheckHeartOrTemperature_URL @"/heart_temperature/query/checkHeartOrTemperature" |
|
|
|
/// 查询心率/体温记录和配置信息 |
|
#define QueryHeartOrTemperature_URL @"/heart_temperature/query/queryHeartOrTemperature" |
|
|
|
/// 根据imei查询通讯录成员 |
|
#define QueryAddressList_URL @"/address-book-app/query/queryAddress" |
|
|
|
/// 新增通讯录成员(注:不管是通讯录导入方式还是手动添加,都需要传对象集合给后端) |
|
#define AddressImport_URL @"/address-book-app/insert/addressImport" |
|
|
|
/// 批量删除通讯录成员 |
|
#define DelBatchAddress_URL @"/address-book-app/del/delBatchAddress" |
|
|
|
/// 修改通讯录成员信息 |
|
#define UpdateAddress_URL @"/address-book-app/update/updateAddress" |
|
|
|
/// 转让管理员(只有管理员才能进行此操作) |
|
#define SetAdmin_URL @"/address-book-app/update/setAdmin" |
|
|
|
/// 查询设置的闹钟 |
|
#define QueryAlarm_URL @"/device-alarm-app/query/queryAlarm" |
|
|
|
/// 新增闹钟 |
|
#define AddAlarm_URL @"/device-alarm-app/insert/addAlarm" |
|
|
|
/// 修改闹钟开关 |
|
#define UpdateAlarmStatus_URL @"/device-alarm-app/update/updateAlarmStatus" |
|
|
|
/// 修改闹钟 |
|
#define UpdateAlarm_URL @"/device-alarm-app/update/updateAlarm" |
|
|
|
/// 删除闹钟 |
|
#define DeleteAlarm_URL @"/device-alarm-app/delete/deleteAlarm" |
|
|
|
/// 查询上课禁用闹钟 |
|
#define DisabledList_URL @"/device-disable-app/query/disabled" |
|
|
|
/// 修改上课禁用闹钟状态 |
|
#define StatusDisabled_URL @"/device-disable-app/update/statusDisabled" |
|
|
|
/// 新增上课禁用 |
|
#define AddDisabled_URL @"/device-disable-app/insert/disabled" |
|
|
|
/// 修改上课禁用 |
|
#define UpdataDisabled_URL @"/device-disable-app/update/disabled" |
|
|
|
/// 删除上课禁用 |
|
#define DeleteDisabled_URL @"/device-disable-app/delete/disabledd" |
|
|
|
/// 查找学生证 |
|
#define QueryDevice_URL @"/device-disable-app/find/queryDevice" |
|
|
|
/// SOS号码查询 |
|
#define QueryPhone_URL @"/imei-sos-info/sos/query/phone" |
|
|
|
/// 添加或编辑SOS号码 |
|
#define AddSosPhone_URL @"/imei-sos-info/sos/add/phone" |
|
|
|
/// 查询学生证资料 |
|
#define QueryDeviceInfo_URL @"/app/device/query/deviceInfo" |
|
|
|
/// 修改学生证资料 |
|
#define UpdateDeviceInfo_URL @"/app/device/update/deviceInfo" |
|
|
|
/// 设备远程关机 |
|
#define DeviceShutDown_URL @"/device-owner-info-app/device/shutDown" |
|
|
|
/// 解除与设备绑定 |
|
#define DeviceUnbind_URL @"/app/device/device/unbind" |
|
|
|
/// 查询一周计步数 |
|
#define QueryWeekStep_URL @"/device-step-daily/query/weekStep" |
|
|
|
/// 查询今日计步数 |
|
#define QueryCurrentStep_URL @"/device-step-daily/query/currentStep" |
|
|
|
/// 拨号盘开关 |
|
#define DeviceDialSwitch_URL @"/device-owner-info-app/device/dialSwitch" |
|
|
|
/// 拒绝陌生来电 |
|
#define RejectStrangeCalls_URL @"/device-owner-info-app/reject/strangeCalls" |
|
|
|
/// 光感开关 |
|
#define PhotoreceptorStatus_URL @"/device-owner-info-app/device/photoreceptorStatus" |
|
|
|
/// 查询定时开关机 |
|
#define SwitchQuerySetting_URL @"/device-time-switch-app/switch/querySetting" |
|
|
|
/// 保存定时开关机设置 |
|
#define SwitchAddSetting_URL @"/device-time-switch-app/switch/addSetting" |
|
|
|
/// 查询定位模式 |
|
#define DevicePosition_URL @"/device-location-app/device/position" |
|
|
|
/// 定位模式修改 |
|
#define LocationModel_URL @"/device-location-app/location/model" |
|
|
|
#pragma mark -----------------------------------定位模块----------------------------------- |
|
|
|
/// 根据imei号查询安全围栏信息 |
|
#define QueryRails_URL @"/safety-rail-app/query/queryRails" |
|
|
|
/// 新增圆形围栏 |
|
#define AddRails_URL @"/safety-rail-app/insert/addRails" |
|
|
|
/// 更新圆形电子围栏 |
|
#define UpdateRails_URL @"/safety-rail-app/update/updateRails" |
|
|
|
/// 删除电子围栏 |
|
#define DelRails_URL @"/safety-rail-app/delete/delRails" |
|
|
|
/// 修改电子围栏启用状态 |
|
#define updateRailStatus_URL @"/safety-rail-app/update/updateRailStatus" |
|
|
|
/// 根据imei查询轨迹信息 |
|
#define TrackInfo_URL @"/track-info-app/query/trackInfo" |
|
|
|
/// 根据日期删除轨迹信息 |
|
#define DeleteTrackInfo_URL @"/track-info-app/delete/trackInfo" |
|
|
|
/// 新增多边形围栏 |
|
#define AddRails2Polygon_URL @"/safety-rail-app/insert/addRails2Polygon" |
|
|
|
/// 跟新多边形围栏 |
|
#define UpdateRails2Polygon_URL @"/safety-rail-app/update/updateRails2Polygon" |
|
|
|
|
|
#pragma mark -----------------------------------消息中心----------------------------------- |
|
|
|
/// 查询学生证的告警信息 |
|
#define QueryRemind_URL @"/reminder-message-app/query/queryRemind" |
|
|
|
/// 删除提醒消息 |
|
#define DeleteRemind_URL @"/reminder-message-app/delete/deleteRemind" |
|
|
|
/// 修改已读/未读状态 |
|
#define UpdateRemind_URL @"/reminder-message-app/update/updateRemind" |
|
|
|
|
|
/// 查询通知信息 |
|
#define QueryNotify_URL @"/notify_app/query/queryNotify" |
|
|
|
/// 删除通知 |
|
#define DeleteNotify_URL @"/notify_app/delete/deleteNotify" |
|
|
|
/// 修改通知已读/未读状态 |
|
#define UpdateNotify_URL @"/notify_app/update/updateNotify" |
|
|
|
|
|
/// 查询申请关注信息记录 |
|
#define QueryFollowInfo_URL @"/device-attention-app/query/follow/info/" |
|
|
|
/// 管理员审批申请关注接口 POST |
|
#define ApprovalFollow_URL @"/app/device/binding/approval/follow" |
|
|
|
/// 更改已读状态 |
|
#define UpdateInfoStatus_URL @"/device-attention-app/update/info/status/" |
|
|
|
/// 删除通话记录POST |
|
#define DeleteRecord_URL @"/device_video_record_app/delete/deleteRecord" |
|
|
|
/// 分页查询通话记录GET |
|
#define QueryRecord_URL @"/device_video_record_app/record/queryRecord" |
|
|
|
|
|
/// 查询热点问题GET |
|
#define HotMessage_URL @"/message/query/hotMessage" |
|
|
|
/// 查询问题分类GET |
|
#define MessageCategory_URL @"/message/query/messageCategory" |
|
|
|
/// 查询问题分类下的具体问题GET |
|
#define QueryContentById_URL @"/message/query/queryContentById" |
|
|
|
/// 新增消息 POST |
|
#define AddChat_URL @"/chat-group-member-app/message/addChat" |
|
|
|
/// 查询微聊数据GET |
|
#define QueryChat_URL @"/chat-group-member-app/message/queryChat" |
|
|
|
/// 根据消息id更新当前消息为已读状态GET |
|
#define UpdateById_URL @"/chat-group-message-app/message/updateById" |
|
|
|
/// 删除微聊数据GET |
|
#define DeleteChat_URL @"/chat-group-message-app/message/deleteChat" |
|
|
|
/// 查询当前设备用户未读消息数 GET |
|
#define UnreadTotal_URL @"/chat-group-message-app/message/unreadTotal" |
|
|
|
|
|
/// 用户注销 |
|
#define UserCancel_URL @"/user/user/cancel" |
|
|
|
/// 退出登录 |
|
#define Logout_URL @"/user/send/logout" |
|
|
|
/// 查看个人资料 |
|
#define QueryMsg_URL @"/user/send/query" |
|
|
|
/// 修改账号信息 |
|
#define UpdateInfo_URL @"/user/send/updateInfo" |
|
|
|
/// 用户活跃度统计上传 |
|
#define Total_URL @"/version_ratio/active/total" |
|
|
|
|
|
//用户协议 |
|
#define AccoutXieYiURLStr @"https://jrhx.com.cn/useragreement/useragreement.html" |
|
|
|
//隐私政策 |
|
#define PrivacyPolicyURLStr @"https://jrhx.com.cn/useragreement/privacypolicy.html" |
|
|
|
//二维码丢失 |
|
#define QRcodeLostURLStr [NSString stringWithFormat:@"http://39.108.227.227/getway/qrcode_tx"] |
|
|
|
/// 根据imei查询可视频通话成员 |
|
#define QueryVideo_URL @"/device_video_app/query/queryVideo" |
|
|
|
/// 主动请求视频通话返回配置参数 |
|
#define UserQueryVideo_URL @"/device_video_app/query/userQueryVideo" |
|
|
|
/// 与设备进行视频通话 |
|
#define VideoCall_URL @"/device_video_app/video/videoCall" |
|
|
|
/// APP发起视频/语音通话后主动挂断(在学生证还未接到响铃的情况下) |
|
#define DeleteCall_URL @"/device_video_app/video/deleteCall" |
|
|
|
/// APP挂断后上传视频通话记录 |
|
#define VideoRecord_URL @"/device_video_record_app/record/videoRecord" |
|
|
|
/// 查询未读消息数GET |
|
#define UnReadTotal_URL @"/reminder-message-app/query/unReadTotal" |
|
|
|
|
|
#pragma mark -----------------------------------消息----------------------------------- |
|
|
|
/// 校园通知已读接口后面拼接id |
|
#define IsReade_GET_URL @"/home-work/campusNotice/isReade/" |
|
|
|
/// 作业已读 |
|
#define HomeworkIsReade_GET_URL @"/home-work/homeworkIsReade" |
|
|
|
/// 分页查询学校通知接口 |
|
#define CampusPage_GET_URL @"/home-work/query/campusPage" |
|
|
|
/// 查询未读作业总数 |
|
#define HomeWorkCount_GET_URL @"/home-work/query/homeWorkCount" |
|
|
|
/// 分页查询作业接口 |
|
#define HomeWorkPage_GET_URL @"/home-work/query/homeWorkPage" |
|
|
|
/// 查询小红花未读总数 |
|
#define ReadFlowerCount_GET_URL @"/app/device/query/readFlowerCount" |
|
|
|
/// 查询小红花通知列表 |
|
#define ReadFlowerList_GET_URL @"/app/device/query/readFlowerList" |
|
|
|
/// 修改小红花未读状态接口后面拼接id |
|
#define ReadOwnFlowerStatus_GET_URL @"/app/device/edit/readOwnFlowerStatus/" |
|
|
|
|
|
|
|
/// 查询亲情号 |
|
#define FamilyNumber_URL @"/family-number-info/query/familyNumber" |
|
|
|
/// 新增亲情号(无论是单个还是多个都要传数组过来) |
|
#define AddFamilyNumber_URL @"/family-number-info/add/familyNumber" |
|
|
|
/// 编辑亲情号(无论是单个还是多个都要传数组过来) |
|
#define EditFamilyNumber_URL @"/family-number-info/edit/familyNumber" |
|
|
|
/// 删除亲情号 |
|
#define DelFamilyNumber_URL @"/family-number-info/del/familyNumber" |
|
|
|
/// 新增意见反馈 |
|
#define AddFeedback_URL @"/feedback/insert" |
|
|
|
/// 分页查询意见反馈 |
|
#define FeedbackPageList_URL @"/feedback/pageList" |
|
|
|
/// 更新意见反馈 |
|
#define FeedbackUpdate_URL @"/feedback/update" |
|
|
|
/// 删除意见反馈 GET请求 /feedback/delete/{id} |
|
#define FeedbackDelete_URL @"/feedback/delete" |
|
|
|
/// 反馈回复 |
|
#define FeedbackReply_URL @"/feedback/reply" |
|
|
|
#endif /* UIURL_h */
|
|
|