|
@@ -1,371 +0,0 @@
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 修改手机号,发送验证码
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/modifyPhoneNumber")
|
|
|
|
- public JsonModel modifyPhoneNumber(String mobile, String newMobile) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 注册协议
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/protocol")
|
|
|
|
- public JsonModel protocol(Integer helpPageID) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 地址管理:省市区
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/address")
|
|
|
|
- public JsonModel address() {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 更换手机号
|
|
|
|
- * @param userID 用户ID
|
|
|
|
- * @param contractMobile 旧手机号
|
|
|
|
- * @param contractMobile2 新手机号
|
|
|
|
- * @param mobileCode 旧手机验证码
|
|
|
|
- * @param newMobileCode 新手机验证码
|
|
|
|
- */
|
|
|
|
- @PostMapping("/club/changeMobile")
|
|
|
|
- public JsonModel changeMobile(ClubVo club) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 小程序注册发送验证码
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/captcha")
|
|
|
|
- public JsonModel captcha(String mobile) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 省
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/province")
|
|
|
|
- public JsonModel getProvince() {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 市
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/city")
|
|
|
|
- public JsonModel getCity(Integer provinceId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 区
|
|
|
|
- */
|
|
|
|
- @GetMapping("/club/town")
|
|
|
|
- public JsonModel getTown(Integer cityId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 发送邮箱验证码
|
|
|
|
- *
|
|
|
|
- * @param status 1:绑定邮箱,2邮箱注册,3邮箱找回秘密
|
|
|
|
- */
|
|
|
|
- @GetMapping("/user/mailbox")
|
|
|
|
- public JsonModel sendMail(String email, String status) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 绑定邮箱
|
|
|
|
- */
|
|
|
|
- @PostMapping("/user/binding")
|
|
|
|
- public JsonModel bindingMail(Integer userID, String email, String code) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 忘记密码,找回密码
|
|
|
|
- *
|
|
|
|
- * @param mobileOrEmail
|
|
|
|
- * @param activateCode
|
|
|
|
- * @param passWord
|
|
|
|
- * @param confirmPwd
|
|
|
|
- * @param status 1:手机号找回,2:邮箱找回
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @PostMapping("/user/findCompanyPwd")
|
|
|
|
- public JsonModel findCompanyPwd(String mobileOrEmail, String activateCode, String passWord, String confirmPwd, String status) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-//message
|
|
|
|
- /**
|
|
|
|
- * 我的消息
|
|
|
|
- */
|
|
|
|
- @GetMapping("/user/messageList")
|
|
|
|
- public JsonModel messageList(Integer userId, PageVo pageVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 标为已读
|
|
|
|
- */
|
|
|
|
- @PostMapping("/user/markAsRead")
|
|
|
|
- public JsonModel markAsRead(String messageIds) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 删除消息
|
|
|
|
- */
|
|
|
|
- @PostMapping("/user/deleteMessage")
|
|
|
|
- public JsonModel deleteMessage(String messageIds) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 上传头像
|
|
|
|
- */
|
|
|
|
- @PostMapping("/user/uploadAvatar")
|
|
|
|
- public JsonModel uploadAvatar(Integer userId, String image) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-//operation
|
|
|
|
- /**
|
|
|
|
- * 获取运营人员列表
|
|
|
|
- * @param userID 用户ID
|
|
|
|
- * @param linkName 运营人员姓名
|
|
|
|
- * @param mobile 运营人员手机号
|
|
|
|
- * @return `List<OperationVo>`
|
|
|
|
- */
|
|
|
|
- @GetMapping("/operation/list")
|
|
|
|
- public JsonModel getList(OperationVo operation, PageVo pageVo) {
|
|
|
|
- return operationService.getList(operation, pageVo);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 添加运营人员
|
|
|
|
- * @param mobile 手机号
|
|
|
|
- * @param linkName 姓名
|
|
|
|
- * @param userID 用户ID
|
|
|
|
- * @param clubID 机构ID
|
|
|
|
- * @param configFlag 确认标志
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @PostMapping("/operation/add")
|
|
|
|
- public JsonModel addOperation(OperationVo operation) {
|
|
|
|
- return operationService.saveOperation(operation);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 更新邀请码
|
|
|
|
- * @param id 运营人员id
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @PostMapping("/operation/updateInvitationCode")
|
|
|
|
- public JsonModel updateInvitationCode(OperationVo operation) {
|
|
|
|
- return operationService.updateInvitationCode(operation);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 删除运营人员(解绑)
|
|
|
|
- * @param id 运营人员id
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @PostMapping("/operation/delete")
|
|
|
|
- public JsonModel deleteOperation(OperationVo operation) {
|
|
|
|
- return operationService.unbindOperation(operation);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-//pcCenter
|
|
|
|
- /**
|
|
|
|
- * pc端个人中心数据
|
|
|
|
- */
|
|
|
|
- @GetMapping("/pcCenter/myPcCenter")
|
|
|
|
- public JsonModel myPcCenter(Integer userId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 查询我的订单
|
|
|
|
- *
|
|
|
|
- * @param orderState 订单状态
|
|
|
|
- * @param searchNo 订单号
|
|
|
|
- * @param beginTime 开始时间
|
|
|
|
- * @param endTime 结束时间
|
|
|
|
- * @param userId 用户id
|
|
|
|
- * @param pageVo 分页对象
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @GetMapping("/pcCenter/getOrderList")
|
|
|
|
- public JsonModel getOrderList(Integer orderState, String searchNo, String beginTime, String endTime, Integer userId, PageVo pageVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 获取各状态订单数量
|
|
|
|
- *
|
|
|
|
- * @param userId 用户id
|
|
|
|
- */
|
|
|
|
- @GetMapping("/pcCenter/getOrderNum")
|
|
|
|
- public JsonModel getOrderNum(Integer userId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 维修列表
|
|
|
|
- * @param keyword 关键词 查询条件
|
|
|
|
- * @param status 维修状态1.已提交,2已对接(确认真实后)3已评价,4取消
|
|
|
|
- * @param userId 用户Id
|
|
|
|
- * @param startTime 开始时间
|
|
|
|
- * @param endTime 结束时间
|
|
|
|
- * @param pageNum 页码
|
|
|
|
- * @param pageSize 分页大小
|
|
|
|
- */
|
|
|
|
- @GetMapping("/pcCenter/findMaintenance")
|
|
|
|
- public JsonModel findMaintenance(CmInstrumentMaintenanceVo maintenanceVo, PageVo pageVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 申请维修
|
|
|
|
- * @param userId 用户Id
|
|
|
|
- * @param userContact 用户联系人
|
|
|
|
- * @param userMobile 用户手机号
|
|
|
|
- * @param provinceName 省
|
|
|
|
- * @param cityName 市
|
|
|
|
- * @param townName 区
|
|
|
|
- * @param userAddress 地址
|
|
|
|
- * @param instrumentName 仪器名
|
|
|
|
- * @param manufacturer 仪器厂家
|
|
|
|
- * @param instrumentImages 仪器图,以,隔开
|
|
|
|
- * @param problemDescription 问题描述
|
|
|
|
- */
|
|
|
|
- @PostMapping("/pcCenter/applyMaintenance")
|
|
|
|
- public JsonModel applyMaintenance(CmInstrumentMaintenanceVo maintenanceVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 维修详情
|
|
|
|
- * id 维修id
|
|
|
|
- */
|
|
|
|
- @GetMapping("/pcCenter/maintenance/detail")
|
|
|
|
- public JsonModel maintenanceDetail(Integer id) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 物流信息
|
|
|
|
- * @param orderId 订单id
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @GetMapping("/pcCenter/logistics")
|
|
|
|
- public JsonModel logistics(Integer orderId){
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 评价维修
|
|
|
|
- * @param solveStatus 是否解决问题:0未解决,1已解决
|
|
|
|
- * @param serviceRating 服务评分,一颗心表示1,多颗数次之
|
|
|
|
- * @param serviceEvaluate 服务评价
|
|
|
|
- */
|
|
|
|
- @PostMapping("/pcCenter/maintenance/evaluation")
|
|
|
|
- public JsonModel evaluationMaintenance(Integer id, String solveStatus, String serviceRating, String serviceEvaluate){
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-//PsersonalCenter
|
|
|
|
- /**
|
|
|
|
- * 个人中心显示数据
|
|
|
|
- */
|
|
|
|
- @GetMapping("/personalCenter/myCentre")
|
|
|
|
- public JsonModel myCentre(Integer userID) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 账户余额明细
|
|
|
|
- * @param year
|
|
|
|
- * @param month
|
|
|
|
- * @param pageNum
|
|
|
|
- * @param pageSize
|
|
|
|
- * @param userId 用户Id
|
|
|
|
- * @param type 收支类型:1收入,2支出
|
|
|
|
- */
|
|
|
|
- @GetMapping("/personalCenter/touchBalance")
|
|
|
|
- public JsonModel touchBalance(int year, int month, PageVo pageVo, BalanceRecordVo balanceRecord) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 查询用户所有地址
|
|
|
|
- */
|
|
|
|
- @GetMapping("/personalCenter/findAddress")
|
|
|
|
- public JsonModel findAddress(Integer userID, PageVo pageVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 保存或编辑地址
|
|
|
|
- * @param userID 用户ID
|
|
|
|
- * @param shouHuoRen 收货人
|
|
|
|
- * @param mobile 手机号
|
|
|
|
- * @param townID 区Id
|
|
|
|
- * @param address 地址
|
|
|
|
- * @param defaultFlag 是否默认收货地址(0 不是默认,1 默认)
|
|
|
|
- * @param addressID 地址ID
|
|
|
|
- */
|
|
|
|
- @PostMapping("/personalCenter/saveAddress")
|
|
|
|
- public JsonModel saveAddress(AddressVo addressVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 删除地址
|
|
|
|
- */
|
|
|
|
- @GetMapping("/personalCenter/deleteAddress")
|
|
|
|
- public JsonModel deleteAddress(Integer addressID) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 发票信息
|
|
|
|
- */
|
|
|
|
- @PostMapping("/personalCenter/invoice")
|
|
|
|
- public JsonModel invoice(InvoiceVo invoiceVo) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 发票信息数据
|
|
|
|
- */
|
|
|
|
- @GetMapping("/personalCenter/findInvoice")
|
|
|
|
- public JsonModel findInvoice(Long userId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 普通机构取消提示
|
|
|
|
- */
|
|
|
|
- @PostMapping("/cancelPrompt")
|
|
|
|
- public JsonModel cancelPrompt(Integer userId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 设为默认地址
|
|
|
|
- */
|
|
|
|
- @PostMapping("/personalCenter/defaultAddress")
|
|
|
|
- public JsonModel defaultAddress(Integer userId, Integer addressId) {
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
-}
|
|
|