| | |
| | | |
| | | @Test |
| | | public void statistic() { |
| | | Long count = goldCornGetRecordService.getGoldCornByDay(null, "2022-04-07"); |
| | | Long count = goldCornGetRecordService.getGoldCornByDay(null, new Date()); |
| | | System.out.println(count); |
| | | |
| | | count = goldCornGetRecordService.countUidsByDay("2022-04-07"); |
| | |
| | | @Test |
| | | public void makeGoldCorn() { |
| | | try { |
| | | goldCornMakeService.addGoldCorn(22380L, GoldCornGetType.watchVideo,false,new Date()); |
| | | goldCornMakeService.addGoldCorn(22384L, GoldCornGetType.watchVideo,false,new Date(),null); |
| | | // goldCornMakeService.addGoldCorn(22380L,GoldCornGetType.readNovel,new Date()); |
| | | } catch (UserInfoException e) { |
| | | e.printStackTrace(); |