|
@@ -181,6 +181,13 @@ return array
|
|
|
'match' => 'option',
|
|
|
# 读取另外表的关联方式
|
|
|
'sync' => array('type_id', 'id'),
|
|
|
+ 'search' => $search_option_type == 1 ? array
|
|
|
+ (
|
|
|
+ 'api' => 'shop/info-like',
|
|
|
+ 'col' => 'sid',
|
|
|
+ 'result' => 'id',
|
|
|
+ 'search' => 'type_id',//本表的字段,默认为当前的字段
|
|
|
+ ) : false,
|
|
|
'list' => $search_option_type == 1 ? true : false,
|
|
|
'list_order' => 1,
|
|
|
),
|
|
@@ -193,6 +200,7 @@ return array
|
|
|
'match' => 'option',
|
|
|
# 读取另外表的关联方式
|
|
|
'sync' => array('type_id', 'id'),
|
|
|
+
|
|
|
'list' => $search_option_type == 1 ? 'Dever::load("shop/lib/manage.shopInfoType", {shop-info-type})' : false,
|
|
|
'list_order' => 3,
|
|
|
),
|