| | |
| | | import com.panzhihua.common.model.dtos.community.microCommercialStreet.BindUserPhoneDTO; |
| | | import com.panzhihua.common.model.dtos.community.microCommercialStreet.LoginWithPhoneDTO; |
| | | import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.panzhihua.common.model.dtos.PageDTO; |
| | |
| | | return userService.updateUserPartyStatus(userId); |
| | | } |
| | | |
| | | @PostMapping("/uuLogin") |
| | | public R uuLogin(@RequestBody UuLoginVO uuLoginVO){ |
| | | return userService.uuLogin(uuLoginVO); |
| | | } |
| | | |
| | | @PostMapping("/indexData") |
| | | @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); |
| | | } |
| | | |
| | | /** |
| | | *导出验证密码 |
| | | */ |
| | | @GetMapping("/checkExport") |
| | | public R checkExport(@RequestParam("account")String account,@RequestParam("password")String password,@RequestParam("oldPassword")String oldPassword){ |
| | | return userService.checkExport(account,password,oldPassword); |
| | | } |
| | | } |