Your Name 3 years ago
parent
commit
21917a867f
1 changed files with 11 additions and 1 deletions
  1. 11 1
      app/shop/lib/Sell.php

+ 11 - 1
app/shop/lib/Sell.php

@@ -1761,13 +1761,23 @@ class Sell
             # 对账信息
             $this->show_dz($info, $result);
         }
+        $button = array();
+
+        $button[0]['btn'][] = array
+        (
+            'type' => 'edit',
+            'link' => Dever::url('project/database/update?project=shop&table=info&where_id='.$address['id'].'&status=1&col=contact,mobile,area,address,house_number', 'manage'),
+            'name' => '修改地址',
+        );
+
 
         $head = array
         (
             'name' => '基本信息',
             'btn' => array(),
         );
-        $html = Dever::show($head, $result);
+        $foot = $button;
+        $html = Dever::show($head, $result,$foot);
 
         return $html;
     }