Y-邮件-模板.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. [
  2. {
  3. "excel_file_name": "Y-邮件-模板.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": "mail_template.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": "MailTemplate.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": "GameConfig.ConfigGen.EMailTemplateType"
  47. },
  48. {
  49. "key": "过期天数",
  50. "name": "ExpireDays",
  51. "side": "s",
  52. "type_sjson": "int",
  53. "type_go": "int32"
  54. },
  55. {
  56. "key": "邮件奖励",
  57. "name": "Rewards",
  58. "side": "s",
  59. "type_sjson": "array",
  60. "type_go": "types.Assets"
  61. },
  62. {
  63. "key": "发件人Lang",
  64. "name": "SenderLang",
  65. "side": "c",
  66. "type_sjson": "string",
  67. "type_go": "string",
  68. "type_cjson": "string",
  69. "type_csharp": "string"
  70. },
  71. {
  72. "key": "邮件标题Lang",
  73. "name": "TitleLang",
  74. "side": "c",
  75. "type_cjson": "string",
  76. "type_csharp": "string"
  77. },
  78. {
  79. "key": "邮件内容Lang",
  80. "name": "ContentLang",
  81. "side": "c",
  82. "type_cjson": "string",
  83. "type_csharp": "string"
  84. }
  85. ]
  86. }
  87. ]
  88. }
  89. ]