大头菜新增周日满背包价格

This commit is contained in:
Yutousama 2021-12-26 10:25:07 +08:00
parent 33c7f0df56
commit 55da787d66
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication @SpringBootApplication
public class QQBotApplication { public class QQBotApplication {
public static final String version="QQBot v.1.2.3"; public static final String version="QQBot v.1.2.4";
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("version = " + version); System.out.println("version = " + version);
SpringApplication.run(QQBotApplication.class, args); SpringApplication.run(QQBotApplication.class, args);

View File

@ -223,6 +223,9 @@ public class TurnipProphet extends Model {
out.append(TurnipData.MODEL).append(prArray.getJSONObject(0).getString(TurnipData.MODEL)).append("\n"); out.append(TurnipData.MODEL).append(prArray.getJSONObject(0).getString(TurnipData.MODEL)).append("\n");
out.append(TurnipData.PR).append(prArray.getJSONObject(0).getString(TurnipData.PR)).append("\n"); out.append(TurnipData.PR).append(prArray.getJSONObject(0).getString(TurnipData.PR)).append("\n");
out.append("购入价:").append(prices.split("\\.")[0]).append("\n"); out.append("购入价:").append(prices.split("\\.")[0]).append("\n");
if(getDay()==0){
out.append("满背包(4行)购入价:").append(4000*Integer.parseInt(prices.split("\\.")[0])).append("\n");
}
out.append(TurnipData.MIX).append(map.get(TurnipData.MIX)).append("\n") out.append(TurnipData.MIX).append(map.get(TurnipData.MIX)).append("\n")
.append(TurnipData.MAX).append(map.get(TurnipData.MAX)).append("\n") .append(TurnipData.MAX).append(map.get(TurnipData.MAX)).append("\n")
.append(TurnipData.DAY).append(map.get(TurnipData.DAY)).append("\n") .append(TurnipData.DAY).append(map.get(TurnipData.DAY)).append("\n")
@ -275,7 +278,7 @@ public class TurnipProphet extends Model {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
TurnipProphet prophet = new TurnipProphet(); TurnipProphet prophet = new TurnipProphet();
prophet.setData(68, 583819556); prophet.setData(92, 583819556);
} }