dever 3 years ago
parent
commit
a06799944e

+ 1 - 1
app/cash/database/order.php

@@ -14,7 +14,7 @@ $status = array
 
 $audit = array
 (
-	1 => '待审核',
+	//1 => '待审核',
 	2 => '审核通过',
 	3 => '审核未通过',
 );

+ 7 - 1
app/shop/database/apply.php

@@ -3,7 +3,8 @@
 $status = array
 (
     1 => '申请中',
-    2 => '已开通门店',
+    2 => '审核通过',
+    3 => '审核未通过',
 );
 
 return array
@@ -15,6 +16,11 @@ return array
     # 后台菜单排序
     'order' => 1,
     //'menu' => false,
+    'ends' => array
+    (
+        'insert' => 'shop/lib/manage.upInfo',
+        'update' => 'shop/lib/manage.upInfo',
+    ),
     # 数据结构
     'struct' => array
     (

+ 1 - 1
app/shop/database/buy_order.php

@@ -263,7 +263,7 @@ return array
 
             //'oper1'  => array('发货', '"mshop/lib/manage.send?order_id={id}"', '{status} == 3'),
 
-            'fast1' => array('发货', '"buy_order_ps&where_id={id}&search_option_order_id={id}&oper_save_jump=buy_order&oper_table=buy_order&oper_parent=buy_order"', '{status} == 3'),
+            //'fast1' => array('发货', '"buy_order_ps&where_id={id}&search_option_order_id={id}&oper_save_jump=buy_order&oper_table=buy_order&oper_parent=buy_order"', '{status} == 3'),
         ),
     ),
 

+ 11 - 0
app/shop/lib/Manage.php

@@ -42,6 +42,17 @@ class Manage
         return Dever::table($table);
     }
 
+    /**
+     * 更新信息
+     *
+     * @return mixed
+     */
+    public function upInfo($id, $name, $data)
+    {
+        Dever::config('base')->hook = true;
+        
+    }
+
     /**
      * 更新信息
      *