| | |
| | | * @param password 密码 |
| | | * @return 登录结果 |
| | | */ |
| | | @OperLog(operModul = "一键报警APP登录 ") |
| | | @PostMapping("/loginAlarmApp") |
| | | public R loginAlarmApp(@RequestParam("account") String account, @RequestParam("password") String password) { |
| | | LoginReturnsVO loginReturnVO = loginService.loginAlarmApp(account, password); |
| | |
| | | * 密码 |
| | | * @return 登录结果 |
| | | */ |
| | | @OperLog(operModul = "便民服务商家后台登录") |
| | | @OperLog(operModul = "便民服务商家后台登录 ") |
| | | @PostMapping("/loginMerchantBackStage") |
| | | public R loginMerchantBackStage(@RequestParam("account") String account, @RequestParam("password") String password) { |
| | | LoginReturnVO loginReturnVO = loginService.loginMerchantBackStage(account, password); |
| | |
| | | * @return 登录结果 |
| | | */ |
| | | @PostMapping("/loginMcsUser") |
| | | @OperLog(operModul = "微商业街用户登录") |
| | | public R loginMcsUser(@RequestParam("account") String account, @RequestParam("password") String password) { |
| | | LoginReturnVO loginReturnVO = loginService.loginMcsUser(account, password); |
| | | return R.ok(loginReturnVO); |
| | |
| | | return userService.listmenu(userId); |
| | | } |
| | | |
| | | @PostMapping("/indexData") |
| | | @ApiOperation(value = "新数据统计看板",response = IndexDataAnalysisVO.class) |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "type",value = "数据范围,1:所有区县,2:所有街道,3:所有社区,4:跟据街道筛选",dataType = "Integer"), |
| | | @ApiImplicitParam(name = "streetId",value = "街道ID",dataType = "Long") |
| | | }) |
| | | public R indexData(@RequestParam(value = "type",required = false) Integer type, |
| | | @RequestParam(value = "type",required = false) Long streetId){ |
| | | return userService.newIndexData(type,streetId); |
| | | } |
| | | // @PostMapping("/indexData") |
| | | // @ApiOperation(value = "新数据统计看板",response = IndexDataAnalysisVO.class) |
| | | // @ApiImplicitParams({ |
| | | // @ApiImplicitParam(name = "type",value = "数据范围,1:所有区县,2:所有街道,3:所有社区,4:跟据街道筛选",dataType = "Integer"), |
| | | // @ApiImplicitParam(name = "streetId",value = "街道ID",dataType = "Long") |
| | | // }) |
| | | // public R indexData(@RequestParam(value = "type",required = false) Integer type, |
| | | // @RequestParam(value = "type",required = false) Long streetId){ |
| | | // return userService.newIndexData(type,streetId); |
| | | // } |
| | | |
| | | } |