| | |
| | | package com.panzhihua.service_dangjian.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.partybuilding.NewFightIntegral; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.building.IntegratingTaskVO; |
| | | import com.panzhihua.service_dangjian.entity.IntegratingTask; |
| | | import com.panzhihua.service_dangjian.service.ComActIntegralUsersService; |
| | | import com.panzhihua.service_dangjian.service.NewFightConvenientMerchantService; |
| | | import com.panzhihua.service_dangjian.service.NewFightIntegratingTaskService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | { |
| | | @Resource |
| | | private NewFightIntegratingTaskService taskService; |
| | | |
| | | @Resource |
| | | private ComActIntegralUsersService usersService; |
| | | |
| | | /** |
| | | * 列表 |
| | |
| | | return taskService.addData(item); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加或者修改积分 |
| | | * @param item |
| | | * @return |
| | | */ |
| | | @PostMapping("/upIntegral") |
| | | public R upIntegral(@RequestBody NewFightIntegral item) |
| | | { |
| | | return usersService.upIntegral(item); |
| | | } |
| | | |
| | | |
| | | |
| | | } |