J-交易行-商品.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. [
  2. {
  3. "excel_file_name": "J-交易所-商品.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": "exchange_goods.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": "ExchangeGoodsCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "商品ID",
  41. "name": "ID",
  42. "side": "cs",
  43. "type_sjson": "int",
  44. "type_go": "int32",
  45. "type_cjson": "int",
  46. "type_csharp": "int"
  47. },
  48. {
  49. "key": "交易所类型",
  50. "name": "ExchangeType",
  51. "side": "cs",
  52. "type_sjson": "int",
  53. "type_go": "enum.ExchangeType",
  54. "type_cjson": "int",
  55. "type_csharp": "int"
  56. },
  57. {
  58. "key": "商品分类",
  59. "name": "ItemType",
  60. "side": "cs",
  61. "type_sjson": "int",
  62. "type_go": "enum.ExchangeItemType",
  63. "type_cjson": "int",
  64. "type_csharp": "int"
  65. },
  66. {
  67. "key": "排序",
  68. "name": "Sort",
  69. "side": "c",
  70. "type_sjson": "int",
  71. "type_go": "int32",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "交易道具ID",
  77. "name": "ItemID",
  78. "side": "cs",
  79. "type_sjson": "int",
  80. "type_go": "int32",
  81. "type_cjson": "int",
  82. "type_csharp": "int"
  83. },
  84. {
  85. "key": "单位价格区间(下限)",
  86. "name": "MinPrice",
  87. "side": "cs",
  88. "type_sjson": "int",
  89. "type_go": "int32",
  90. "type_cjson": "int",
  91. "type_csharp": "int"
  92. },
  93. {
  94. "key": "单位价区间(上限)",
  95. "name": "MaxPrice",
  96. "side": "cs",
  97. "type_sjson": "int",
  98. "type_go": "int32",
  99. "type_cjson": "int",
  100. "type_csharp": "int"
  101. },
  102. {
  103. "key": "数量单位",
  104. "name": "unitQty",
  105. "side": "cs",
  106. "type_sjson": "int",
  107. "type_go": "int32",
  108. "type_cjson": "int",
  109. "type_csharp": "int"
  110. },
  111. {
  112. "key": "价格单位Lang",
  113. "name": "PriceQtyLang",
  114. "side": "c",
  115. "type_sjson": "string",
  116. "type_go": "string",
  117. "type_cjson": "string",
  118. "type_csharp": "string"
  119. },
  120. {
  121. "key": "数量单位Lang",
  122. "name": "unitQtyLang",
  123. "side": "c",
  124. "type_sjson": "string",
  125. "type_go": "string",
  126. "type_cjson": "string",
  127. "type_csharp": "string"
  128. },
  129. {
  130. "key": "最大数量",
  131. "name": "MaxCount",
  132. "side": "cs",
  133. "type_sjson": "int",
  134. "type_go": "int32",
  135. "type_cjson": "int",
  136. "type_csharp": "int"
  137. },
  138. {
  139. "key": "最小数量",
  140. "name": "MinCount",
  141. "side": "cs",
  142. "type_sjson": "int",
  143. "type_go": "int32",
  144. "type_cjson": "int",
  145. "type_csharp": "int"
  146. },
  147. {
  148. "key": "手续费(百分比)",
  149. "name": "FeeRate",
  150. "side": "cs",
  151. "type_sjson": "int",
  152. "type_go": "int32",
  153. "type_cjson": "int",
  154. "type_csharp": "int"
  155. },
  156. {
  157. "key": "最低手续费",
  158. "name": "MinFee",
  159. "side": "cs",
  160. "type_sjson": "int",
  161. "type_go": "int32",
  162. "type_cjson": "int",
  163. "type_csharp": "int"
  164. },
  165. {
  166. "key": "装备解绑消耗",
  167. "name": "UnbindCost",
  168. "side": "cs",
  169. "type_sjson": "array",
  170. "type_go": "types.Assets",
  171. "type_cjson": "string",
  172. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  173. }
  174. ]
  175. }
  176. ]
  177. }
  178. ]