Authored by michaelcao

update

... ... @@ -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 ");
... ...
... ... @@ -31,6 +31,11 @@
<url-pattern>/yohood/images/*</url-pattern>
<url-pattern>/yohood/*</url-pattern>
<url-pattern>/brand/*</url-pattern>
<url-pattern>/brandVote/YOHOPE/*</url-pattern>
<url-pattern>/brandVote/YOHOPE/images/*</url-pattern>
<url-pattern>/brandVote/YOHOPE/js/*</url-pattern>
<url-pattern>/brandVote/YOHOPEPC/*</url-pattern>
<url-pattern>/brandVote/YOHOPEPC/images/*</url-pattern>
</servlet-mapping>
<servlet>
... ...