This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-01-23 02:53:23 +08:00
parent c6710e7dfa
commit 26cc480866
27 changed files with 2061 additions and 988 deletions

View File

@@ -16,19 +16,15 @@ import com.google.gson.JsonObject;
public final class TbGShop extends AbstractBean {
public TbGShop(JsonObject _buf) {
id = _buf.get("id").getAsInt();
tig = _buf.get("tig").getAsString();
giftId = _buf.get("giftId").getAsInt();
type = _buf.get("type").getAsInt();
}
public static TbGShop deserialize(JsonObject _buf) {
return new cfg.TB.TbGShop(_buf);
}
/**
* id
*/
public final int id;
/**
* 备注
*/
@@ -37,6 +33,10 @@ public final class TbGShop extends AbstractBean {
* 礼包Id
*/
public final int giftId;
/**
* 0.点卷商店 1.金币商店
*/
public final int type;
public static final int __ID__ = 319422095;
@@ -46,9 +46,9 @@ public final class TbGShop extends AbstractBean {
@Override
public String toString() {
return "{ "
+ "(format_field_name __code_style field.name):" + id + ","
+ "(format_field_name __code_style field.name):" + tig + ","
+ "(format_field_name __code_style field.name):" + giftId + ","
+ "(format_field_name __code_style field.name):" + type + ","
+ "}";
}
}

View File

@@ -14,24 +14,24 @@ import com.google.gson.JsonElement;
public final class TbGShop {
private final java.util.HashMap<Integer, cfg.TB.TbGShop> _dataMap;
private final java.util.HashMap<String, cfg.TB.TbGShop> _dataMap;
private final java.util.ArrayList<cfg.TB.TbGShop> _dataList;
public TbGShop(JsonElement _buf) {
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGShop>();
_dataMap = new java.util.HashMap<String, cfg.TB.TbGShop>();
_dataList = new java.util.ArrayList<cfg.TB.TbGShop>();
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
cfg.TB.TbGShop _v;
_v = cfg.TB.TbGShop.deserialize(_e_.getAsJsonObject());
_dataList.add(_v);
_dataMap.put(_v.id, _v);
_dataMap.put(_v.tig, _v);
}
}
public java.util.HashMap<Integer, cfg.TB.TbGShop> getDataMap() { return _dataMap; }
public java.util.HashMap<String, cfg.TB.TbGShop> getDataMap() { return _dataMap; }
public java.util.ArrayList<cfg.TB.TbGShop> getDataList() { return _dataList; }
public cfg.TB.TbGShop get(int key) { return _dataMap.get(key); }
public cfg.TB.TbGShop get(String key) { return _dataMap.get(key); }
}

View File

@@ -11,6 +11,6 @@ spring:
serialization:
write-dates-as-timestamps: true
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#mybatis-plus:
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

View File

@@ -93,5 +93,25 @@
"value": 20
}
]
},
{
"id": 210001,
"name": "锻造礼包",
"tig": "锻造礼包",
"limit": 1,
"limitValue": 0,
"exchanges": [
{
"id": 90001,
"value": 2000
}
],
"rewards": [
{
"type": 1,
"id": 90002,
"value": 20
}
]
}
]

View File

@@ -50,7 +50,7 @@
{
"id": 90007,
"icon": "90007",
"name": "兑换券",
"name": "点卷",
"tig": "用于购买礼包",
"args": "",
"quality": 1

View File

@@ -1,22 +1,27 @@
[
{
"id": 1,
"tig": "金币礼包",
"giftId": 180001
"giftId": 180001,
"type": 0
},
{
"id": 2,
"tig": "好多金币礼包",
"giftId": 180002
"giftId": 180002,
"type": 0
},
{
"id": 3,
"tig": "限购矿石礼包",
"giftId": 190001
"giftId": 190001,
"type": 0
},
{
"id": 4,
"tig": "每日矿石礼包",
"giftId": 200001
"giftId": 200001,
"type": 0
},
{
"tig": "锻造礼包",
"giftId": 210001,
"type": 1
}
]