Commit 2566f155 by liyijie

feat: 使用prefix,原来使用过json字段了

parent b4f484ea
......@@ -192,7 +192,7 @@ module TalltyImportExport
elsif header[:proc] && header[:proc].respond_to?(:call)
header[:proc].call(record, context)
else
try_method(record, header[:key], prefix: header[:json])
try_method(record, header[:key], prefix: [header[:prefix], header[:json]].compact.join('.'))
end
data = handle_format(data, header)
data = handle_data_type(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment