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