| | |
| | | |
| | | import com.panzhihua.common.model.dtos.community.ComActWorkGuideDTO; |
| | | import com.panzhihua.common.model.dtos.community.PageActWorkGuideDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActActRegistVO; |
| | | import com.panzhihua.common.model.vos.community.ComActWorkGuideClassifyVO; |
| | | import com.panzhihua.common.model.vos.community.SignactivityVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinghuiMerchantEvaluateVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiCoinGeneralTableVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiGoldCoinRecordVO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * 金汇社区 |
| | |
| | | public R recordExpurgateData(@RequestParam("id") String id); |
| | | |
| | | |
| | | /************************************************************************************************* |
| | | * |
| | | * 办事指南 |
| | | * |
| | | ***************************************************************************************************/ |
| | | |
| | | /** |
| | | * 办事指南_新增 |
| | |
| | | */ |
| | | @PostMapping("/JinhuiWorkGuide/addworkguide") |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R addWorkGuide(@RequestBody ComActWorkGuideDTO workGuideDTO, @RequestParam("userId") Long userId); |
| | | public R addWorkGuide(@RequestBody ComActWorkGuideDTO workGuideDTO, @RequestParam("userId") String userId); |
| | | |
| | | /** |
| | | * 办事指南_编辑 |
| | |
| | | */ |
| | | @PostMapping("/JinhuiWorkGuide/editworkguide") |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R putWorkGuide(@RequestBody ComActWorkGuideDTO workGuideDTO, @RequestParam("userId") Long userId) ; |
| | | public R putWorkGuide(@RequestBody ComActWorkGuideDTO workGuideDTO, @RequestParam("userId") String userId) ; |
| | | |
| | | /** |
| | | * 办事指南_详情 |
| | |
| | | * @return 删除结果 |
| | | */ |
| | | @PostMapping("/JinhuiWorkGuide/delectworkguide") |
| | | R delectWorkGuide(@RequestParam("workGuideId") Long workGuideId) ; |
| | | R delectWorkGuide(@RequestParam("workGuideId") String workGuideId) ; |
| | | |
| | | /** |
| | | * 分页查询办事执念-分类管理 addWorkGuideClassify 分页查询办事执念-分类管理 |
| | |
| | | * @date 2021/8/31 15:03 |
| | | */ |
| | | @GetMapping("/JinhuiWorkGuide/workGuide/classify/delete") |
| | | public R deleteWorkGuideClassify(@RequestParam("workGuideClassifyId") Long workGuideClassifyId) ; |
| | | public R deleteWorkGuideClassify(@RequestParam("workGuideClassifyId") String workGuideClassifyId) ; |
| | | |
| | | /** |
| | | * 办事指南-分类管理列表查询 getWorkGuideClassifyList 办事指南-分类管理列表查询 |
| | |
| | | * @return 办事指南列表数据 |
| | | */ |
| | | @GetMapping("/JinhuiWorkGuide/listworkguide/classify") |
| | | public R listWorkGuideByClassifyId(@RequestParam("classifyId") Long classifyId) ; |
| | | public R listWorkGuideByClassifyId(@RequestParam("classifyId") String classifyId) ; |
| | | |
| | | |
| | | /********************************************************************************************** |
| | | * |
| | | * |
| | | * 便民服务 |
| | | * |
| | | * |
| | | ************************************************************************************************/ |
| | | |
| | | /** |
| | | * 删除便民服务商家 |
| | | * |
| | | * @param merchantId |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/jinhuiMerchant/delete") |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId, @RequestParam("operator") String operator); |
| | | |
| | | /** |
| | | * 分页查询便民服务商家 运营后台 |
| | | * |
| | | * @param pageConvenientMerchantDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/jinhuiMerchant/page") |
| | | public R pageMerchant(@RequestBody PageConvenientMerchantDTO pageConvenientMerchantDTO); |
| | | |
| | | /** |
| | | * 获取便民服务商家详情 |
| | | * |
| | | * @param merchantId |
| | | * @return |
| | | */ |
| | | @GetMapping("/jinhuiMerchant/get") |
| | | public R getMerchant(@RequestParam("merchantId") String merchantId); |
| | | |
| | | |
| | | /** |
| | | * 分页查询 商家类别 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/jinhuiMerchant/getCategories") |
| | | public R getListCategories(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize); |
| | | |
| | | |
| | | /************************************************************************************************************** |
| | | * |
| | | * |
| | | * 商家评论 |
| | | * |
| | | * |
| | | *************************************************************************************************************/ |
| | | /** |
| | | * 商家评论列表 |
| | | * @param pageNum |
| | | * @param pageSize |
| | | * @param merchantId |
| | | * @return |
| | | */ |
| | | @GetMapping("/jinghuiMerchantEvaluate/getList") |
| | | public R merchantEvaluateGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam("merchantId") String merchantId); |
| | | |
| | | /** |
| | | * 商家评论列单个详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/jinghuiMerchantEvaluate/getDetails") |
| | | public R merchantEvaluateGetDetails(@RequestParam("id") String id); |
| | | /** |
| | | * 商家评论列添加 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/jinghuiMerchantEvaluate/addData") |
| | | public R merchantEvaluateAddData(@RequestBody JinghuiMerchantEvaluateVO item); |
| | | |
| | | /** |
| | | * 商家评论列编辑 |
| | | * @param item |
| | | * @return |
| | | */ |
| | | @PostMapping("/jinghuiMerchantEvaluate/editData") |
| | | public R merchantEvaluateEditData(@RequestBody JinghuiMerchantEvaluateVO item); |
| | | |
| | | /** |
| | | * 商家评论列删除 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/jinghuiMerchantEvaluate/expurgateData") |
| | | public R merchantEvaluateExpurgateData(@RequestParam("id") String id); |
| | | |
| | | |
| | | |