S-商店-商品.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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_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": "ShopGoodsCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ShopPoolID,GoodsID",
  35. "is_unique": true
  36. },
  37. {
  38. "index_names": "ShopPoolID"
  39. }
  40. ],
  41. "heads": [
  42. {
  43. "key": "商品库ID",
  44. "name": "ShopPoolID",
  45. "side": "cs",
  46. "type_sjson": "int",
  47. "type_go": "int32",
  48. "type_cjson": "int",
  49. "type_csharp": "int"
  50. },
  51. {
  52. "key": "商品ID",
  53. "name": "GoodsID",
  54. "side": "cs",
  55. "type_sjson": "int",
  56. "type_go": "int32",
  57. "type_cjson": "int",
  58. "type_csharp": "int"
  59. },
  60. {
  61. "key": "购买消耗",
  62. "name": "BuyCost",
  63. "side": "cs",
  64. "type_sjson": "array",
  65. "type_go": "types.Pair[int32,int32]",
  66. "type_cjson": "array",
  67. "type_csharp": "int[]"
  68. },
  69. {
  70. "key": "折扣",
  71. "name": "DiscountLang",
  72. "side": "c",
  73. "type_cjson": "string",
  74. "type_csharp": "string"
  75. },
  76. {
  77. "key": "一键购买排序",
  78. "name": "QuickBuySort",
  79. "side": "c",
  80. "type_cjson": "int",
  81. "type_csharp": "int"
  82. },
  83. {
  84. "key": "限定提示文本",
  85. "name": "BuyConditionLang",
  86. "side": "c",
  87. "type_cjson": "string",
  88. "type_csharp": "string"
  89. },
  90. {
  91. "key": "是否支持一键购买",
  92. "name": "QuickBuyType",
  93. "side": "c",
  94. "type_cjson": "int",
  95. "type_csharp": "int"
  96. },
  97. {
  98. "key": "购买条件",
  99. "name": "BuyCondition",
  100. "side": "cs",
  101. "type_sjson": "array",
  102. "type_go": "types.Pair[int32, int32]",
  103. "type_cjson": "array",
  104. "type_csharp": "int[]"
  105. },
  106. {
  107. "key": "购买上限",
  108. "name": "BuyLimit",
  109. "side": "cs",
  110. "type_sjson": "int",
  111. "type_go": "int32",
  112. "type_cjson": "int",
  113. "type_csharp": "int"
  114. },
  115. {
  116. "key": "购买奖励",
  117. "name": "Rewards",
  118. "side": "cs",
  119. "type_sjson": "array",
  120. "type_go": "types.Pair[int32,int32]",
  121. "type_cjson": "array",
  122. "type_csharp": "int[]"
  123. }
  124. ]
  125. }
  126. ]
  127. }
  128. ]