jialh
2025-08-01 17ea4b4d7b1ddf8d4eb345af7440df9b42df9614
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/**
 * url 常量类
 * 
 * add by wuxw 2019-12-28
 */
const constant = require("../constant/index.js");
import conf from '../conf/config.js'
const baseUrl = conf.baseUrl; 
 
const wechatRefrashToken = baseUrl + "app/refreshToken"; // 公众号刷新token
 
const loginOwnerByKey = baseUrl + "app/loginOwnerByKey"; // 根据临时秘钥登录
 
const loginUrl = baseUrl + 'app/loginWx';
const getWxPhoto = baseUrl + 'app/getWxPhoto';
const loginOwnerUrl = baseUrl + 'app/loginOwner';
const areaUrl = baseUrl + "app/area.listAreas";
const GetNoticeListUrl = baseUrl + 'app/notice.listNotices'; //公告接口
const saveOwnerRepair = baseUrl + 'app/ownerRepair.saveOwnerRepair'; //报修
 
const listOwnerRepairs = baseUrl + 'app/ownerRepair.listOwnerRepairs'; //查询报修
 
const saveOwner = baseUrl + 'app/owner.saveOwnerMember'; //家庭成员列表
 
const updateOwnerMembers = baseUrl + 'app/owner.updateOwnerMembers'; //投诉建议列表
 
const queryOwnerMembers = baseUrl + 'app/owner.queryOwnerMembers'; //投诉建议列表
 
const listComplaints = baseUrl + 'app/complaint.listComplaints'; //添加投诉建议
 
const saveComplaint = baseUrl + 'app/complaint.saveComplaint'; //查询业主房间
 
const queryRoomsByOwner = baseUrl + 'app/room.queryRoomsByOwner'; //绑定业主
 
const appUserBindingOwner = baseUrl + 'app/owner.appUserBindingOwner'; //查询绑定业主
 
const ownerRegiter = baseUrl + 'app/owner.ownerRegister'; //业主注册
 
const ownerRegisterWxPhoto = baseUrl + 'app/owner.ownerRegisterWxPhoto'; //业主注册
 
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 + "app/applicationKey.listApplicationKeys"; //申请访客钥匙
 
const applyVisitorApplicationKey = baseUrl + "app/applicationKey.applyVisitorApplicationKey"; //上传业主照片
 
const uploadOwnerPhoto = baseUrl + "app/owner.uploadOwnerPhoto";
const getOwnerPhotoPath = baseUrl + "callComponent/download/getFile/fileByObjId";
const filePath = baseUrl + "callComponent/download/getFile/file"; //查询业主车位信息
 
const queryParkingSpacesByOwner = baseUrl + "app/parkingSpace.queryParkingSpacesByOwner"; //查询停车位费用
 
const queryFeeByParkingSpace = baseUrl + "app/fee.queryFeeByParkingSpace"; //查询物业费用
 
const queryFeeByOwner = baseUrl + "app/fee.listFee"; //预下单
 
const preOrder = baseUrl + "app/payment/toPay"; //查询小区
 
const toOweFeePay = baseUrl + "app/payment/toOweFeePay"; //欠费缴费
 
//临时车缴费
const preOrderTempCarInout = baseUrl + "/app/payment/toPayTempCarInout";
 
const listCommunitys = baseUrl + "app/community.listCommunitys"; //查询小区文化
 
const listActivitiess = baseUrl + "app/activities.listActivitiess"; //查询小区广告
 
const listAdvertPhoto = baseUrl + "app/advert.listAdvertPhoto";
 
//查询车辆进场费用
const queryFeeByCarInout = baseUrl + "app/fee.queryFeeByCarInout";
 
//查询报修单
const listMyRepair = baseUrl + "app/ownerRepair.listOwnerRepairs";
 
//查询在场车辆
const listCarIn = baseUrl + "app/carInout.listCarInouts";
 
const queryConfigFee = baseUrl + "app/fee.queryFeeConfig";
 
//缴费历史查询
const queryFeeDetail = baseUrl + "app/fee.queryFeeDetail";
 
//发送验证码
const userSendSms = baseUrl + "app/user.userSendSms";
 
const userLogout = baseUrl + 'app/user.service.logout'; //绑定业主
 
const listStore = baseUrl + 'app/store.listStoresByCommunity'; // 查询小区商户
 
//发布需求信息
const saveJunkRequirement = baseUrl + 'app/junkRequirement.saveJunkRequirement';
 
//查询需求信息
const listJunkRequirements = baseUrl + 'app/junkRequirement.listJunkRequirements';
 
//删除 需求信息
const deleteJunkRequirement = baseUrl + 'app/junkRequirement.deleteJunkRequirement';
 
//标记为已完成
const updateJunkRequirement = baseUrl + 'app/junkRequirement.updateJunkRequirement';
 
//查询楼栋
const queryFloor = baseUrl + 'app/floor.queryFloors';
 
//查询单元
const queryUnit = baseUrl + 'app/unit.queryUnits';
 
//查询报修类型
const listRepairSettings = baseUrl + 'app/repair.listRepairSettings';
 
//待办工单
const listStaffRepairs = baseUrl + "app/ownerRepair.listStaffRepairs";
 
//已办工单
const listStaffFinishRepairs = baseUrl + "app/ownerRepair.listStaffFinishRepairs";
 
// 查询报修单处理师傅
const listRepairStaffs = baseUrl + "app/ownerRepair.listRepairStaffs";
 
 
// 删除报修单
const deleteOwnerRepair = baseUrl + "app/ownerRepair.deleteOwnerRepair";
 
// 报修退单
const repairDispatch = baseUrl + 'app/ownerRepair.repairDispatch';
 
// 报修评价
const appraiseRepair = baseUrl + 'app/repair/appraiseRepair';
 
 
// 根据属性查询费用
const listFeeByAttr = baseUrl + "app/feeApi/listFeeByAttr";
 
// 投诉 处理意见
const listWorkflowAuditInfo = baseUrl + 'app/workflow.listWorkflowAuditInfo';
 
//查询待审核单
const auditComplaint= baseUrl + 'app/complaint.auditComplaint';
 
const changeStaffPwd= baseUrl + 'app/user.changeStaffPwd'; //修改密码
 
const changeOwnerPhone= baseUrl + 'app/ownerApi/changeOwnerPhone'; //修改密码
 
 
 
const queryRentingPool= baseUrl + 'app/renting/queryRentingPool'; //查询房源
 
 
 
const queryParkingSpaces= baseUrl + 'app/parkingSpace.queryParkingSpaces'; //查询空闲车位
 
const saveOwnerCar= baseUrl + 'app/parkingSpaceApply.saveParkingSpaceApply'; //申请车位接口owner.saveOwnerCar(原来的)
 
const queryOwnerCars= baseUrl + 'app/parkingSpaceApply.listParkingSpaceApply'; //查询业主车辆
// 查询申请类型(空置房)
const queryApplyRoomDiscountType = baseUrl + 'app/applyRoomDiscount/queryApplyRoomDiscountType';
// 提交申请
const saveApplyRoomDiscount = baseUrl + 'app/applyRoomDiscount/saveApplyRoomDiscount';
const queryFeeDiscount = baseUrl + 'app/feeDiscount/queryFeeDiscount';
const saveRoomRenovation = baseUrl + 'app/roomRenovation/saveRoomRenovation';
const saveAddVisit = baseUrl + "callComponent/addVisit/save";
const listOwnerVisit = baseUrl + "callComponent/visitManage/list";
 
 
 
/**
 * 不需要登录页面
 */
const NEED_NOT_LOGIN_PAGE = [
    '/pages/login/login',
    '/pages/login/register',
    '/pages/my/my',
    '/pages/index/index',
    '/pages/market/market',
    '/pages/login/showlogin',
    '/pages/rentHouse/rentHouse'
];
 
const NEED_NOT_LOGIN_URL = [
    listActivitiess,
    listAdvertPhoto,
    queryAppUserBindingOwner,
    listJunkRequirements,
    queryRentingPool
];
 
module.exports = {
    baseUrl: baseUrl,
    loginUrl: loginUrl,
    getWxPhoto:getWxPhoto,
    loginOwnerUrl: loginOwnerUrl,
    areaUrl: areaUrl,
    GetNoticeListUrl: GetNoticeListUrl,
    saveOwnerRepair: saveOwnerRepair,
    listOwnerRepairs: listOwnerRepairs,
    saveOwner: saveOwner,
    appUserBindingOwner: appUserBindingOwner,
    queryAppUserBindingOwner: queryAppUserBindingOwner,
    queryOwnerMembers: queryOwnerMembers,
    updateOwnerMembers: updateOwnerMembers,
    listComplaints: listComplaints,
    saveComplaint: saveComplaint,
    appUserUnBindingOwner: appUserUnBindingOwner,
    listOwnerMachines: listOwnerMachines,
    applyApplicationKey: applyApplicationKey,
    listApplicationKeys: listApplicationKeys,
    applyVisitorApplicationKey: applyVisitorApplicationKey,
    uploadOwnerPhoto: uploadOwnerPhoto,
    getOwnerPhotoPath: getOwnerPhotoPath,
    queryRoomsByOwner: queryRoomsByOwner,
    queryParkingSpacesByOwner: queryParkingSpacesByOwner,
    queryFeeByParkingSpace: queryFeeByParkingSpace,
    queryFeeByOwner: queryFeeByOwner,
    preOrder: preOrder,
    listCommunitys: listCommunitys,
    listActivitiess: listActivitiess,
    filePath: filePath,
    listAdvertPhoto: listAdvertPhoto,
    listMyRepair: listMyRepair,
    listCarIn: listCarIn,
    queryConfigFee: queryConfigFee,
    queryFeeByCarInout: queryFeeByCarInout,
    preOrderTempCarInout: preOrderTempCarInout,
    queryFeeDetail: queryFeeDetail,
    userSendSms: userSendSms,
    userLogout: userLogout,
    ownerRegiter: ownerRegiter,
    listStore: listStore,
    saveJunkRequirement: saveJunkRequirement,
    listJunkRequirements: listJunkRequirements,
    deleteJunkRequirement: deleteJunkRequirement,
    updateJunkRequirement: updateJunkRequirement,
    wechatRefrashToken: wechatRefrashToken,
    loginOwnerByKey: loginOwnerByKey,
    NEED_NOT_LOGIN_URL: NEED_NOT_LOGIN_URL,
    NEED_NOT_LOGIN_PAGE: NEED_NOT_LOGIN_PAGE,
    queryFloor: queryFloor,
    queryUnit: queryUnit,
    listRepairSettings: listRepairSettings,
    listStaffRepairs: listStaffRepairs,
    listStaffFinishRepairs: listStaffFinishRepairs,
    listRepairStaffs: listRepairStaffs,
    deleteOwnerRepair: deleteOwnerRepair,
    repairDispatch: repairDispatch,
    appraiseRepair:appraiseRepair,
    listFeeByAttr:listFeeByAttr,
    listWorkflowAuditInfo:listWorkflowAuditInfo,
    auditComplaint:auditComplaint,
    ownerRegisterWxPhoto:ownerRegisterWxPhoto,
    changeStaffPwd:changeStaffPwd,
    changeOwnerPhone:changeOwnerPhone,
    queryRentingPool:queryRentingPool,
 
    toOweFeePay:toOweFeePay,
 
    queryParkingSpaces:queryParkingSpaces,
    saveOwnerCar:saveOwnerCar,
    queryOwnerCars:queryOwnerCars,
    queryApplyRoomDiscountType: queryApplyRoomDiscountType,
    saveApplyRoomDiscount: saveApplyRoomDiscount,
    queryFeeDiscount: queryFeeDiscount,
    saveRoomRenovation: saveRoomRenovation,
    saveAddVisit: saveAddVisit,
    listOwnerVisit: listOwnerVisit,
};