| | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.VolunteerActivitiesPeopleVO; |
| | | import com.panzhihua.common.model.vos.community.VolunteerIntegralMerchantVO; |
| | | import com.panzhihua.common.model.vos.community.VolunteerIntegralRecordVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerIntegralMerchant/insertVolunteer") |
| | | public R VolunteerIntegralMerchantInsertVolunteer(@RequestBody VolunteerIntegralMerchantVO vimVO) |
| | | { |
| | | vimVO.setGoodType("1"); |
| | | return volunteerActivitiesPeople.VolunteerIntegralMerchantInsertVolunteer(vimVO); |
| | | } |
| | | |
| | | @PostMapping("/VolunteerIntegralMerchant/updateById") |
| | | public R VolunteerIntegralMerchantUpdateById(@RequestBody VolunteerIntegralMerchantVO vimVO) |
| | | { |
| | | vimVO.setGoodType("1"); |
| | | return volunteerActivitiesPeople.VolunteerIntegralMerchantUpdateById(vimVO); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/VolunteerIntegralMerchant/unmount") |
| | | public R VolunteerIntegralMerchantUnmount(@RequestBody VolunteerIntegralMerchantVO vimVO) |
| | | { |
| | | vimVO.setGoodType("1"); |
| | | return volunteerActivitiesPeople.VolunteerIntegralMerchantUnmount(vimVO); |
| | | } |
| | | |
| | | |
| | | @DeleteMapping("/VolunteerIntegralMerchant/deleteById") |
| | | public R VolunteerIntegralMerchantDeleteById(@RequestParam("id") String id) |
| | | { |
| | | return volunteerActivitiesPeople.VolunteerIntegralMerchantDeleteById(id); |
| | | } |
| | | } |
| | | |