...
|
...
|
@@ -39,7 +39,7 @@ public class ActVoteResultController { |
|
|
*/
|
|
|
@RequestMapping("/getActVoteNumByUid")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getActVoteNumByUid(@RequestBody ActVoteResultVO voteResult) throws Exception {
|
|
|
public ApiResponse getActVoteNumByUid(ActVoteResultVO voteResult) throws Exception {
|
|
|
log.info("getActVoteNumByUid with uid={}", voteResult.getUid());
|
|
|
ApiResponse response = actVoteResultService.selectVoteNumByUid(voteResult.getUid());
|
|
|
log.info("getActVoteNumByUid success. with uid={}", voteResult.getUid());
|
...
|
...
|
@@ -55,7 +55,7 @@ public class ActVoteResultController { |
|
|
*/
|
|
|
@RequestMapping("/addActVoteResult")
|
|
|
@ResponseBody
|
|
|
public ApiResponse addActVoteResult(@RequestBody ActVoteResultVO voteResult) throws Exception {
|
|
|
public ApiResponse addActVoteResult(ActVoteResultVO voteResult) throws Exception {
|
|
|
log.info("addActVoteResult with uid={}", voteResult);
|
|
|
if(voteResult == null || voteResult.getItemIds().size() == 0){
|
|
|
log.warn("addActVoteResult error. with voteResult empty ");
|
...
|
...
|
|