Commit c75cdb36 by ivan Lan

Fix snapshot :shotengai_product

parent 1bb39ffc
...@@ -86,6 +86,7 @@ module Shotengai ...@@ -86,6 +86,7 @@ module Shotengai
%i{ %i{
title cover_image banners detail title cover_image banners detail
original_price price original_price price
shotengai_product
}.each do |column| }.each do |column|
define_method(column) { super() || shotengai_series.send(column) } define_method(column) { super() || shotengai_series.send(column) }
end end
...@@ -94,7 +95,6 @@ module Shotengai ...@@ -94,7 +95,6 @@ module Shotengai
super() || shotengai_series.spec_value.decode super() || shotengai_series.spec_value.decode
end end
# 重写 JsonColumn 中 column_has_implants 所生成的 detail_info_value 方法, # 重写 JsonColumn 中 column_has_implants 所生成的 detail_info_value 方法,
# 将未支付时的 detail_info_value 指派给 series.detail_info_template # 将未支付时的 detail_info_value 指派给 series.detail_info_template
# 'detail' 为 上方 column_has_implants 所指定的对应嵌入物(implants) # 'detail' 为 上方 column_has_implants 所指定的对应嵌入物(implants)
......
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