mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-24 05:46:04 +08:00
65 lines
1.8 KiB
JavaScript
65 lines
1.8 KiB
JavaScript
/**
|
|
* url 常量类
|
|
*
|
|
* add by wuxw 2019-12-28
|
|
*/
|
|
|
|
|
|
|
|
// 服务器域名
|
|
const baseUrl = 'https://app.demo.winqi.cn/';
|
|
//const baseUrl = 'http://hc.demo.winqi.cn:8012/';
|
|
|
|
// 登录接口
|
|
const loginUrl = baseUrl + 'app/loginWx';
|
|
const areaUrl = baseUrl + "app/area.listAreas";
|
|
const GetNoticeListUrl = baseUrl + 'app/api.queryNotices';
|
|
//报修接口
|
|
const saveOwnerRepair = baseUrl + 'app/ownerRepair.saveOwnerRepair';
|
|
//查看报修
|
|
const listOwnerRepairs = baseUrl + 'app/ownerRepair.listOwnerRepairs';
|
|
//家庭成员
|
|
const saveOwner = baseUrl + 'app/owner.saveOwner';
|
|
//家庭成员列表
|
|
const queryOwnerMembers = baseUrl + 'app/owner.queryOwnerMembers';
|
|
//投诉建议列表
|
|
const listComplaints = baseUrl + 'app/complaint.listComplaints';
|
|
|
|
//绑定业主
|
|
const appUserBindingOwner = baseUrl + 'app/owner.appUserBindingOwner';
|
|
|
|
//查询绑定业主
|
|
const queryAppUserBindingOwner = baseUrl + 'app/owner.listAppUserBindingOwners';
|
|
|
|
|
|
|
|
//解绑业主
|
|
const appUserUnBindingOwner = baseUrl + 'app/owner.deleteAppUserBindingOwner';
|
|
|
|
//查询业主门禁
|
|
const listOwnerMachines = baseUrl + 'app/owner.listOwnerMachines';
|
|
|
|
// 申请钥匙
|
|
const applyApplicationKey = baseUrl +"app/applicationKey.applyApplicationKey";
|
|
|
|
//查询钥匙
|
|
const listApplicationKeys = baseUrl +"applicationKey.listApplicationKeys";
|
|
|
|
|
|
module.exports = {
|
|
baseUrl: baseUrl,
|
|
loginUrl: loginUrl,
|
|
areaUrl: areaUrl,
|
|
GetNoticeListUrl: GetNoticeListUrl,
|
|
saveOwnerRepair: saveOwnerRepair,
|
|
listOwnerRepairs: listOwnerRepairs,
|
|
saveOwner: saveOwner,
|
|
appUserBindingOwner: appUserBindingOwner,
|
|
queryAppUserBindingOwner: queryAppUserBindingOwner,
|
|
queryOwnerMembers: queryOwnerMembers,
|
|
listComplaints: listComplaints,
|
|
appUserUnBindingOwner: appUserUnBindingOwner,
|
|
listOwnerMachines: listOwnerMachines,
|
|
applyApplicationKey: applyApplicationKey,
|
|
listApplicationKeys: listApplicationKeys
|
|
}; |