rabin 3 år sedan
förälder
incheckning
950ca49fee
2 ändrade filer med 6 tillägg och 4 borttagningar
  1. 4 2
      service/agent/database/order_process.php
  2. 2 2
      service/agent/src/My.php

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

@@ -119,6 +119,7 @@ return array
             'update'    => 'radio',
             'option'    => $prize_type,
             'control'   => 'prize_type',
+            'show'      => 'audit=1',
         ),
 
         'price'      => array
@@ -131,7 +132,7 @@ return array
             'update'    => 'text',
             'value'     => Dever::input('price'),
             'list'      => true,
-            'show'      => 'prize_type=1',
+            'show'      => 'prize_type=1&audit=1',
         ),
 
         'cstatus'        => array
@@ -143,6 +144,7 @@ return array
             'match'     => 'is_numeric',
             'update'    => 'radio',
             'option'    => $cstatus,
+            'show'      => 'audit=1',
         ),
 
         'soft_price'      => array
@@ -154,7 +156,7 @@ return array
             'match'     => 'option',
             'update'    => 'text',
             'value'     => Dever::input('soft_price', '0'),
-            'show'      => 'cstatus=2',
+            'show'      => 'cstatus=2&audit=1',
         ),
 
         'desc'      => array

+ 2 - 2
service/agent/src/My.php

@@ -10,8 +10,8 @@ class My extends Core
     public function test()
     {
         # 1000 邀请 1001 1001 邀请 1002
-        //return Dever::load('invite/api')->getChild(1003); 
-        return Dever::load('invite/api')->setRelation(1006, 1005); 
+        //return Dever::load('invite/api')->getChild(1000); 
+        return Dever::load('invite/api')->setRelation(1000, 1003); 
     }
 
     public function addtest()