Your Name 3 years ago
parent
commit
f373dbbc7a
2 changed files with 10 additions and 3 deletions
  1. 4 2
      service/agent/database/member.php
  2. 6 1
      service/bill/database/cash.php

+ 4 - 2
service/agent/database/member.php

@@ -101,12 +101,14 @@ $list_button = array();
 if ($pmid) {
     $list_button = array
     (
-        'list' => array('查看详情', '"member_area&mid={id}&page_type=1&search_type=1"'),
+        'list1' => array('查看详情', '"member_area&mid={id}&page_type=1&search_type=1"'),
+        // 'list2' => array('查看上下级', 'http://192.168.33.10/churen/service/agent/assets/pc/html/index.html?mid={id}'),
     );
 } else {
     $list_button = array
     (
-        'list' => array('查看详情', '"member_area&mid={id}&page_type=1"'),
+        'list1' => array('查看详情', '"member_area&mid={id}&page_type=1"'),
+        // 'list2' => array('查看上下级', 'http://192.168.33.10/churen/service/agent/assets/pc/html/index.html?mid={id}'),
     );
 }
 

+ 6 - 1
service/bill/database/cash.php

@@ -115,7 +115,12 @@ return array
             # 读取另外表的关联方式
             'sync'      => array('mid', 'id'),
             'list'      => true,
-            'search'    => 'fulltext',
+            'search'    => array
+            (
+                'api' => 'agent/member-find',
+                'col' => 'name',
+                'result' => 'id',
+            ),
             'list_order' => 3,
         ),