| | |
| | | import com.panzhihua.common.model.vos.community.reserve.ComActReserveDangerAreaVO; |
| | | import com.panzhihua.common.model.vos.shop.AddShopFlowerGoodsVO; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import com.panzhihua.service_community.entity.VolunteerCommunityConfigVO; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | |
| | | * @param grantIntegral |
| | | * @return |
| | | */ |
| | | @PostMapping("/grantIntegral") |
| | | @PostMapping("/VolunteerActivitiesPeople/grantIntegral") |
| | | public R grantIntegral(@RequestBody GrantIntegral grantIntegral); |
| | | |
| | | /************************************************************************************************************** |
| | |
| | | public R VolunteerIntegralMerchantUpdateById(@RequestBody VolunteerIntegralMerchantVO vimVO); |
| | | |
| | | |
| | | @PostMapping("/unmount") |
| | | @PostMapping("/VolunteerIntegralMerchant/unmount") |
| | | public R VolunteerIntegralMerchantUnmount(@RequestBody VolunteerIntegralMerchantVO vimVO); |
| | | |
| | | @DeleteMapping("/VolunteerIntegralMerchant/deleteById") |
| | |
| | | @RequestParam(value = "userName", required = false) String userName, |
| | | @RequestParam(value = "communityId", required = false) String communityId, |
| | | @RequestParam(value = "userId", required = false) String userId, |
| | | @RequestParam(value = "orderType", required = true) String orderType); |
| | | @RequestParam(value = "orderType", required = false) String orderType, |
| | | @RequestParam(value = "merchantId", required = false) String merchantId); |
| | | |
| | | /** |
| | | * 查询详情 |
| | |
| | | */ |
| | | @PostMapping("/VolunteerIntegralMerchant/order/insertData") |
| | | public R insertData(@RequestBody VolunteerCreditsExchangeVO item); |
| | | |
| | | /** |
| | | * 新增用户购买商家商品记录 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerIntegralMerchant/order/insertMerchantData") |
| | | public R insertMerchantData(@RequestBody VolunteerCreditsExchangeVO item); |
| | | |
| | | /** |
| | | * 更新 |
| | |
| | | @GetMapping("/VolunteerMerchant/getById") |
| | | public R volunteerMerchantGetById(@RequestParam("id") String id); |
| | | |
| | | /** |
| | | * 是否是商家 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/isMerchant") |
| | | public R isMerchant(@RequestParam("userId") String userId); |
| | | |
| | | |
| | | /** |
| | | * 社区取消订单 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerIntegralMerchant/order/communityCancellation") |
| | | public R communityCancellation(@RequestParam("id") String id); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /**************************************************************************************************************** |
| | | * |
| | | * 商家评论 |
| | | * |
| | | ***************************************************************************************************************/ |
| | | |
| | | /** |
| | | * 商家评论分页查询 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/evaluate/getList") |
| | | public R volunteerMerchantGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam("communityId") String communityId, |
| | | @RequestParam("merchantId") String merchantId); |
| | | |
| | | /** |
| | | * 商家评论获取详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/evaluate/getData") |
| | | public R volunteerMerchantGetData(@RequestParam("id") String id); |
| | | |
| | | /** |
| | | * 商家评论新增评价 |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerMerchant/evaluate/insert") |
| | | public R volunteerMerchantInsert(@RequestBody VolunteerMerchantEvaluateVO item); |
| | | |
| | | /** |
| | | * 商家评论更新评价 |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerMerchant/evaluate/update") |
| | | public R volunteerMerchantUpdate(@RequestBody VolunteerMerchantEvaluateVO item); |
| | | |
| | | |
| | | /** |
| | | * 商家评论删除评价 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/VolunteerMerchant/evaluate/delete") |
| | | public R volunteerMerchantDelete(@RequestParam("id") String id); |
| | | |
| | | |
| | | |
| | | /*************************************************************************************************************** |
| | | * |
| | | * 路北社区商家提现 |
| | | * |
| | | ****************************************************************************************************************/ |
| | | |
| | | /** |
| | | * 商家提现列表啊 |
| | | * @param disposeType |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/withdraw/getList") |
| | | public R WithdrawGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "disposeType", required = false) String disposeType, |
| | | @RequestParam(value = "merchantName", required = false) String merchantName, |
| | | @RequestParam(value = "merchantId", required = false) String merchantId, |
| | | @RequestParam(value = "communityId", required = false) String communityId); |
| | | |
| | | /** |
| | | * 新增商家提现 |
| | | * @param item |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerMerchant/withdraw/insert") |
| | | public R WithdrawInsert(@RequestBody VolunteerMerchantWithdrawVO item); |
| | | |
| | | /** |
| | | * 编辑商家提现 |
| | | * @param item |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerMerchant/withdraw/update") |
| | | public R WithdrawUpdate(@RequestBody VolunteerMerchantWithdrawVO item); |
| | | |
| | | /** |
| | | * 删除商家提现 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/withdraw/delete") |
| | | public R WithdrawDelete(@RequestParam("id") String id); |
| | | |
| | | /** |
| | | * 处理商家提现 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/withdraw/dispose") |
| | | public R WithdrawDispose(@RequestParam("id") String id); |
| | | |
| | | |
| | | |
| | | |
| | | /*************************************************************************************************************** |
| | | * |
| | | * 路北社区系统配置 商家折扣 兑换地点信息 |
| | | * |
| | | ****************************************************************************************************************/ |
| | | |
| | | /** |
| | | * 详情 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/Community/Config/getData") |
| | | public R ConfiggetData(@RequestParam("communityId") String communityId); |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerMerchant/Community/Config/insertvo") |
| | | public R Configinsertvo(@RequestBody VolunteerCommunityConfigVO item); |
| | | |
| | | |
| | | |
| | | /******************************************************************************************************************* |
| | | * |
| | | * |
| | | * 社区折扣 |
| | | * |
| | | * |
| | | ******************************************************************************************************************/ |
| | | |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerMerchant/community/discount/getList") |
| | | public R CommunityDiscountgetList(@RequestParam("communityId") String communityId); |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerMerchant/community/discount/insert") |
| | | public R CommunityDiscountinsert(@RequestBody VolunteerCommunityDiscountVO item); |
| | | |
| | | |
| | | @PostMapping("/VolunteerMerchant/community/discount/update") |
| | | public R CommunityDiscountupdate(@RequestBody VolunteerCommunityDiscountVO item); |
| | | |
| | | |
| | | @DeleteMapping("/VolunteerMerchant/community/discount/delete") |
| | | public R CommunityDiscountdelete(@RequestParam("id") String id); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |