修复周日不清空的问题

This commit is contained in:
Yutousama 2021-12-12 09:43:28 +08:00
parent 512928c8ad
commit bae2939dce

View File

@ -109,7 +109,7 @@ public class TurnipProphet extends Model {
String pattern = null; String pattern = null;
JSONObject json; JSONObject json;
JSONArray array; JSONArray array;
if (StringUtils.isEmpty(data)) { if (StringUtils.isEmpty(data)||getDay()==0) {
array = new JSONArray(); array = new JSONArray();
json = new JSONObject(); json = new JSONObject();
array.add(-1); array.add(-1);