Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shotengai
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
shotengai
Commits
c75cdb36
Commit
c75cdb36
authored
Aug 10, 2018
by
ivan Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix snapshot :shotengai_product
parent
1bb39ffc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
snapshot.rb
lib/shotengai/snapshot.rb
+1
-1
No files found.
lib/shotengai/snapshot.rb
View file @
c75cdb36
...
...
@@ -86,6 +86,7 @@ module Shotengai
%i{
title cover_image banners detail
original_price price
shotengai_product
}
.
each
do
|
column
|
define_method
(
column
)
{
super
()
||
shotengai_series
.
send
(
column
)
}
end
...
...
@@ -94,7 +95,6 @@ module Shotengai
super
()
||
shotengai_series
.
spec_value
.
decode
end
# 重写 JsonColumn 中 column_has_implants 所生成的 detail_info_value 方法,
# 将未支付时的 detail_info_value 指派给 series.detail_info_template
# 'detail' 为 上方 column_has_implants 所指定的对应嵌入物(implants)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment