修复周日不清空的问题

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;
JSONObject json;
JSONArray array;
if (StringUtils.isEmpty(data)) {
if (StringUtils.isEmpty(data)||getDay()==0) {
array = new JSONArray();
json = new JSONObject();
array.add(-1);