| | |
| | | @PostMapping("/VolunteerIntegralMerchant/insertVolunteer") |
| | | public R VolunteerIntegralMerchantInsertVolunteer(@RequestBody VolunteerIntegralMerchantVO vimVO) |
| | | { |
| | | if(StringUtils.isEmpty(vimVO.getMerchantId())) |
| | | { |
| | | return R.fail("商家id不能为空"); |
| | | } |
| | | |
| | | vimVO.setGoodType("1"); |
| | | return volunteerActivitiesPeople.VolunteerIntegralMerchantInsertVolunteer(vimVO); |
| | | } |
| | |
| | | @PostMapping("/VolunteerIntegralMerchant/updateById") |
| | | public R VolunteerIntegralMerchantUpdateById(@RequestBody VolunteerIntegralMerchantVO vimVO) |
| | | { |
| | | if(StringUtils.isEmpty(vimVO.getMerchantId())) |
| | | { |
| | | return R.fail("商家id不能为空"); |
| | | } |
| | | |
| | | vimVO.setGoodType("1"); |
| | | return volunteerActivitiesPeople.VolunteerIntegralMerchantUpdateById(vimVO); |
| | | } |