| | |
| | | import com.matrix.core.tools.WebUtil; |
| | | import com.matrix.system.app.dto.VipInfoListDto; |
| | | import com.matrix.system.app.vo.VipInfoListVo; |
| | | import com.matrix.system.app.vo.VipInfoVo; |
| | | import com.matrix.system.common.bean.SysUsers; |
| | | import com.matrix.system.common.tools.DataAuthUtil; |
| | | import com.matrix.system.hive.bean.SysVipLevel; |
| | |
| | | return AjaxResult.buildSuccessInstance(sysVipInfoService.findVipAddressBook(vipInfoListDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据手机号查询用户信息", notes = "根据手机号查询用户信息") |
| | | @GetMapping(value = "/findVipInfoByPhone/{phone}") |
| | | public AjaxResult findVipInfoByPhone(@PathVariable("phone") String phone) { |
| | | return null; |
| | | @ApiOperation(value = "根据id查询用户信息", notes = "根据id查询用户信息") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "ok", response = VipInfoVo.class) |
| | | }) |
| | | @GetMapping(value = "/findVipInfoByPhone/{id}") |
| | | public AjaxResult findVipInfoByPhone(@PathVariable("id") Long id) { |
| | | AjaxResult ajaxResult = AjaxResult.buildSuccessInstance("获取成功"); |
| | | VipInfoVo vipInfoVo = sysVipInfoService.findApiVipInfoById(id); |
| | | ajaxResult.putInMap("vipInfo", vipInfoVo); |
| | | return ajaxResult; |
| | | } |
| | | |
| | | @ApiOperation(value = "查询会员类型", notes = "查询会员类型") |