dever 3 years ago
parent
commit
c8508aaa13
2 changed files with 19 additions and 3 deletions
  1. 1 2
      app/act/database/info.php
  2. 18 1
      app/shop/database/info.php

+ 1 - 2
app/act/database/info.php

@@ -69,7 +69,7 @@ return array
             'match'     => 'option',
             'update'    => 'image',
             'key'       => '1',
-            'place'     => '300*300',
+            'place'     => '750*722',
         ),
 
         'color'     => array
@@ -101,7 +101,6 @@ return array
             'match'     => 'option',
             'update'    => 'image',
             'key'       => '1',
-            'place'     => '300*300',
         ),
 
         'type'        => array

+ 18 - 1
app/shop/database/info.php

@@ -14,7 +14,13 @@ $type = array
     10 => '平台店',
 );
 
-$col = 'id,name,`desc`,ps_cash,truename,mobile,lng,lat,address,open,worktime,method,gotime,city,area,province,county,town,coupon_city,pdesc,license,food_license,jy_license,license_number,company_name,coord_address';
+$invoice = array
+(
+    1 => '可以开发票',
+    2 => '不可以开发票',
+);
+
+$col = 'id,name,`desc`,ps_cash,truename,mobile,lng,lat,address,open,worktime,method,gotime,city,area,province,county,town,coupon_city,pdesc,license,food_license,jy_license,license_number,company_name,coord_address,invoice';
 
 $act = function()
 {
@@ -466,6 +472,17 @@ return array
             'list'      => true,
         ),
 
+        'invoice'        => array
+        (
+            'type'      => 'int-11',
+            'name'      => '是否可以开发票',
+            'default'   => '1',
+            'desc'      => '是否可以开发票',
+            'match'     => 'is_numeric',
+            'update'    => 'radio',
+            'option'    => $invoice,
+        ),
+
         'coupon_city'        => array
         (
             'type'      => 'int-11',