| | |
| | | |
| | | import com.matrix.core.pojo.AjaxResult; |
| | | import com.matrix.system.app.dto.VipInfoListDto; |
| | | import com.matrix.system.app.vo.VipInfoListVo; |
| | | import com.matrix.system.hive.service.SysVipInfoService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiResponse; |
| | | import io.swagger.annotations.ApiResponses; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | @RequestMapping(value = "/api/vip") |
| | | public class ApiVipInfoAction { |
| | | |
| | | @Autowired |
| | | private SysVipInfoService sysVipInfoService; |
| | | |
| | | @ApiOperation(value = "获取会员通讯录列表", notes = "获取会员通讯录列表") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "ok", response = VipInfoListVo.class) |
| | | }) |
| | | @PostMapping(value = "/findVipInfoList") |
| | | public AjaxResult findVipInfoList(@RequestBody VipInfoListDto vipInfoListDto) { |
| | | return null; |
| | | return AjaxResult.buildSuccessInstance(sysVipInfoService.findVipAddressBook(vipInfoListDto)); |
| | | } |
| | | |
| | | } |