|  |  | 
 |  |  | package com.doumee.api.web; | 
 |  |  |  | 
 |  |  | import com.doumee.biz.system.SystemDictDataBiz; | 
 |  |  | import com.doumee.core.annotation.LoginRequired; | 
 |  |  | import com.doumee.core.annotation.trace.Trace; | 
 |  |  | import com.doumee.core.constants.Constants; | 
 |  |  | import com.doumee.core.model.ApiResponse; | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.dao.business.model.BaseParam; | 
 |  |  | import com.doumee.dao.business.model.MemberRides; | 
 |  |  | import com.doumee.dao.business.model.RentSite; | 
 |  |  | import com.doumee.dao.business.model.Transactions; | 
 |  |  | import com.doumee.dao.business.model.*; | 
 |  |  | import com.doumee.dao.business.web.request.RepairRequest; | 
 |  |  | import com.doumee.dao.business.web.response.MemberRidesDetailResponse; | 
 |  |  | import com.doumee.dao.business.web.response.RidesDetailResponse; | 
 |  |  | import com.doumee.dao.system.model.SystemDictData; | 
 |  |  | import com.doumee.service.business.*; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiImplicitParam; | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private MemberRidesService memberRidesService; | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private SystemDictDataBiz systemDictDataBiz; | 
 |  |  |  | 
 |  |  |     @LoginRequired | 
 |  |  |     @ApiOperation(value = "押金支付", notes = "小程序端") | 
 |  |  | 
 |  |  |     @ApiImplicitParams({ | 
 |  |  |             @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true) | 
 |  |  |     }) | 
 |  |  |     public ApiResponse<String> onlineBike() { | 
 |  |  |     public ApiResponse<MemberRides> onlineBike() { | 
 |  |  |         return  ApiResponse.success("查询成功",memberRidesService.getOnlineBike(getMemberId())); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |         return  ApiResponse.success("操作成功"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @LoginRequired | 
 |  |  |     @ApiOperation(value = "获取字典值信息", notes = "小程序端") | 
 |  |  |     @GetMapping("/getSysDict") | 
 |  |  |     @ApiImplicitParams({ | 
 |  |  |             @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), | 
 |  |  |             @ApiImplicitParam(paramType = "query", dataType = "String", name = "dicCode", value = "字典编码", required = true), | 
 |  |  |             @ApiImplicitParam(paramType = "query", dataType = "String", name = "label", value = "字典数值编码", required = true) | 
 |  |  |     }) | 
 |  |  |     public ApiResponse<SystemDictData> getSysDict(@RequestParam String dicCode, @RequestParam String label) { | 
 |  |  |         return  ApiResponse.success("查询成功",systemDictDataBiz.queryByCode(dicCode,label)); | 
 |  |  |     } | 
 |  |  | } |