S-商店.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. [
  2. {
  3. "excel_file_name": "S-商店.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 1,
  8. "outputs": [
  9. {
  10. "enable": true,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "shop.json",
  14. "gen_codes": [
  15. {
  16. "read_type": "type_go"
  17. }
  18. ]
  19. },
  20. {
  21. "enable": true,
  22. "read_type": "type_cjson",
  23. "parser_id": "table_list",
  24. "file_name": "ShopCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ShopID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "商店ID",
  41. "name": "ShopID",
  42. "side": "cs",
  43. "type_sjson": "int",
  44. "type_go": "int32",
  45. "type_cjson": "int",
  46. "type_csharp": "int"
  47. },
  48. {
  49. "key": "商店名称Lang",
  50. "name": "NameLang",
  51. "side": "c",
  52. "type_sjson": "string",
  53. "type_go": "string",
  54. "type_cjson": "string",
  55. "type_csharp": "string"
  56. },
  57. {
  58. "key": "是否显示在商店中",
  59. "name": "ShowInShop",
  60. "side": "c",
  61. "type_sjson": "bool",
  62. "type_go": "bool",
  63. "type_cjson": "bool",
  64. "type_csharp": "bool"
  65. },
  66. {
  67. "key": "商店类型",
  68. "name": "ShopType",
  69. "side": "cs",
  70. "type_sjson": "int",
  71. "type_go": "int32",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "商店排序",
  77. "name": "SortIndex",
  78. "side": "c",
  79. "type_cjson": "int",
  80. "type_csharp": "int"
  81. },
  82. {
  83. "key": "重置类型",
  84. "name": "ResetType",
  85. "side": "cs",
  86. "type_sjson": "int",
  87. "type_go": "int32",
  88. "type_cjson": "int",
  89. "type_csharp": "int"
  90. },
  91. {
  92. "key": "解锁类型",
  93. "name": "UnlockType",
  94. "side": "cs",
  95. "type_sjson": "int",
  96. "type_go": "int32",
  97. "type_cjson": "int",
  98. "type_csharp": "int"
  99. },
  100. {
  101. "key": "解锁值",
  102. "name": "UnlockValue",
  103. "side": "cs",
  104. "type_sjson": "int",
  105. "type_go": "int32",
  106. "type_cjson": "int",
  107. "type_csharp": "int"
  108. },
  109. {
  110. "key": "商品库",
  111. "name": "ShopPools",
  112. "side": "cs",
  113. "type_sjson": "array",
  114. "type_go": "types.PairList[int32, int32]",
  115. "type_cjson": "string",
  116. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  117. },
  118. {
  119. "key": "是否有一键购买",
  120. "name": "QuickBuy",
  121. "side": "c",
  122. "type_cjson": "bool",
  123. "type_csharp": "bool"
  124. },
  125. {
  126. "key": "资源栏展示",
  127. "name": "CurrenyIds",
  128. "side": "c",
  129. "type_cjson": "array",
  130. "type_csharp": "int[]"
  131. },
  132. {
  133. "key": "功能id",
  134. "name": "FuncId",
  135. "side": "c",
  136. "type_sjson": "int",
  137. "type_go": "int32",
  138. "type_cjson": "int",
  139. "type_csharp": "int"
  140. }
  141. ]
  142. }
  143. ]
  144. }
  145. ]