From 2464548977f4720bc8fceeb5d999c1a3852c2d10 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 21 四月 2022 19:38:30 +0800
Subject: [PATCH] 签到与任务

---
 app/src/test/java/test/goldcorn/GoldCornTest.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/test/java/test/goldcorn/GoldCornTest.java b/app/src/test/java/test/goldcorn/GoldCornTest.java
index e88aa81..a7f76c4 100644
--- a/app/src/test/java/test/goldcorn/GoldCornTest.java
+++ b/app/src/test/java/test/goldcorn/GoldCornTest.java
@@ -45,7 +45,7 @@
 
     @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");
@@ -70,7 +70,7 @@
     @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();

--
Gitblit v1.8.0