| | |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO; |
| | | import com.panzhihua.common.model.vos.community.convenient.ConvenientServiceCategoryVO; |
| | | import com.panzhihua.common.model.vos.community.convenient.JinhuiConvenientMerchantVO; |
| | | import com.panzhihua.common.model.vos.jinhui.*; |
| | | import com.panzhihua.common.model.vos.user.SysUserNoticeVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | |
| | | return jinhuiCommunityService.getListCategories(pageNum, pageSize); |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "便民服务商家入驻") |
| | | @PostMapping("/merchant/addData") |
| | | public R merchantAddData(@RequestBody JinhuiConvenientMerchantVO item) |
| | | { |
| | | item.setAuditType("1"); |
| | | item.setCreatedBy(getUserId()+""); |
| | | return jinhuiCommunityService.merchantAddData(item); |
| | | } |
| | | |
| | | /*************************************************************************************************** |
| | | * |
| | |
| | | } |
| | | |
| | | |
| | | /**************************************************************************************************************** |
| | | * |
| | | * |
| | | * 金汇慈善公益 |
| | | * |
| | | * |
| | | ******************************************************************************************************************/ |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "金汇慈善公益列表",response = JinhuiCharityVO.class) |
| | | @GetMapping("/getCharityList") |
| | | public R getCharityList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "title", required = false) String title, |
| | | @RequestParam(value = "label", required = false) String label, |
| | | @RequestParam(value = "state", required = false) String state) |
| | | { |
| | | return jinhuiCommunityService.getCharityList(pageNum,pageSize,title,label,state); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "金汇慈善公益详情",response = JinhuiCharityVO.class) |
| | | @GetMapping("/getCharityDetails") |
| | | public R getCharityDetails(@RequestParam("id") String id) |
| | | { |
| | | return jinhuiCommunityService.getCharityDetails(id); |
| | | } |
| | | |
| | | |
| | | } |