5 changed files with 126 additions and 3 deletions
@ -0,0 +1,37 @@ |
|||||
|
package com.elink.esua.epdc.controller; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
||||
|
import com.elink.esua.epdc.dto.PointsUpdateFormDTO; |
||||
|
import com.elink.esua.epdc.service.AppUserService; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.PostMapping; |
||||
|
import org.springframework.web.bind.annotation.RequestBody; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
/** |
||||
|
* APP爱心排名 |
||||
|
* |
||||
|
* @author wanggongfeng |
||||
|
* @date 2019/12/17 10:30 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("points/behavior") |
||||
|
public class ApiUserPointsController { |
||||
|
|
||||
|
@Autowired |
||||
|
private AppUserService appUserService; |
||||
|
|
||||
|
/** |
||||
|
* @describe: 更新用户积分(双实信息更新 网格巡查) |
||||
|
* @author wangtong |
||||
|
* @date 2022/2/13 14:47 |
||||
|
* @params [formDto] |
||||
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
||||
|
*/ |
||||
|
@PostMapping("updateUserPoints") |
||||
|
public Result updateUserPoints(@RequestBody PointsUpdateFormDTO formDto) { |
||||
|
return appUserService.updateUserPoints( formDto); |
||||
|
} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue