修复周日不清空的问题
This commit is contained in:
parent
512928c8ad
commit
bae2939dce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user