|
@@ -136,6 +136,24 @@ public class PrizeController {
|
|
|
response.setCharacterEncoding("UTF-8");
|
|
|
response.getWriter().println(msg.toJSONStr());
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 小游戏抽奖列表后台查看
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/luckDrawListBack")
|
|
|
+ public void luckDrawListBack(HttpServletResponse response)
|
|
|
+ throws Exception, KeyManagementException, NoSuchAlgorithmException, NoSuchProviderException, IOException {
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
+ PrizeRecordExample example = new PrizeRecordExample();
|
|
|
+ example.createCriteria().andUidIsNotNull();
|
|
|
+ List<PrizeRecord> list = prizeRecordMapper.selectByExample(example);
|
|
|
+ msg.data = list;
|
|
|
+ response.setContentType("application/json");
|
|
|
+ response.setCharacterEncoding("UTF-8");
|
|
|
+ response.getWriter().println(msg.toJSONStr());
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 小游戏抽奖填写用户信息 参数:phone:电话 username:姓名 id:中奖纪录id
|