rabin 3 éve
szülő
commit
e10f28c0ac
2 módosított fájl, 4 hozzáadás és 2 törlés
  1. 2 1
      service/agent/lib/Dhorder.php
  2. 2 1
      service/agent/src/Children.php

+ 2 - 1
service/agent/lib/Dhorder.php

@@ -689,6 +689,7 @@ class Dhorder
                 $tui = Dever::url('buy_order_tui?shop_id='.$v['shop_id'].'&order_goods_id=' . $v['id'] . '&order_id=' . $info['id'] . '&cash=' . $v['price'], 'shop');
 
                 $status = '<a href="javascript:;" onclick="fastEdit($(this), \''.$tui.'\', \'退款\', \'\', 1)" class="layui-btn">退款</a>';
+                $status = '';
             }
 
             $d = array
@@ -987,7 +988,7 @@ class Dhorder
 
         return Dever::url('project/database/list&project=agent&table=dh_order&menu=agent&search_option_state=1&search_option_shop_type=2&menu_id=218', 'manage');
     }
-    
+
     # 采购订单审核 拆单
     public function audit_commit()
     {

+ 2 - 1
service/agent/src/Children.php

@@ -17,6 +17,7 @@ class Children
 
 	public function home()
 	{
+		
 		$cur = Dever::input('mid');
 		$parent = Dever::load('invite/api')->getParentAll($cur, 5, 2);
 
@@ -56,7 +57,7 @@ class Children
 		return $result[0];
 	}
 
-	public function getChild(&$data, &$i, $uid, $parents, $cur, $state, $next = true)
+	private function getChild(&$data, &$i, $uid, $parents, $cur, $state, $next = true)
 	{
 		$child = Dever::db('agent/member')->select(array('parent_mid' => $uid));
 		if ($child) {