修复大头菜数据未被记录的问题
This commit is contained in:
parent
95141649dc
commit
512928c8ad
@ -36,7 +36,7 @@ public class TurnipProphet extends Model {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int nowTime;
|
static int nowTime;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isUserPublic() {
|
public boolean isUserPublic() {
|
||||||
@ -186,8 +186,8 @@ public class TurnipProphet extends Model {
|
|||||||
String tmp_pattern = sendQQ(map, prices, pattern, qq);
|
String tmp_pattern = sendQQ(map, prices, pattern, qq);
|
||||||
if (!StringUtils.isEmpty(tmp_pattern)) {
|
if (!StringUtils.isEmpty(tmp_pattern)) {
|
||||||
json.put("pattern", tmp_pattern);
|
json.put("pattern", tmp_pattern);
|
||||||
RedisTools.set(redisKey, json.toJSONString());
|
|
||||||
}
|
}
|
||||||
|
RedisTools.set(redisKey, json.toJSONString());
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
setData(money, qq);
|
setData(money, qq);
|
||||||
|
Loading…
Reference in New Issue
Block a user