| | |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | | import com.panzhihua.common.model.vos.shop.ShopStoreVO; |
| | | import com.panzhihua.common.model.vos.user.*; |
| | | import com.panzhihua.service_user.service.SysUserInputService; |
| | | import com.panzhihua.service_user.service.UserService; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 通过账号查询用户信息 |
| | | * 通过账号和渠道查询用户信息 |
| | | * @param account |
| | | * @return |
| | | */ |
| | | @GetMapping("getUserByAccount") |
| | | public R getSysUserVOByAccount(@RequestParam(value = "account") String account){ |
| | | return userService.getSysUserVOByAccount(account); |
| | | public R getSysUserVOByAccount(@RequestParam(value = "account") String account,@RequestParam(value = "type") Integer type){ |
| | | return userService.getSysUserVOByAccount(account, type); |
| | | } |
| | | |
| | | /** |
| | |
| | | R specialUserExport(@RequestBody ExportSpecialUserDTO exportSpecialUserDTO) { |
| | | return sysUserInputService.specialUserExport(exportSpecialUserDTO); |
| | | } |
| | | |
| | | /** |
| | | * 通过账号和渠道查询用户信息 |
| | | * @param storeVO |
| | | * @return |
| | | */ |
| | | @PostMapping("addSysUser") |
| | | public R addSysUser(@RequestBody ShopStoreVO storeVO){ |
| | | return userService.addSysUser(storeVO); |
| | | } |
| | | } |