Your Name 3 年之前
父节点
当前提交
147c877451
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      app/shop/database/buy_order.php
  2. 2 0
      service/mail/lib/Manage.php

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

@@ -967,6 +967,7 @@ $config = array
                 'type' => 1,
                 'status' => array('yes', 'in'),
                 'state' => 1,
+                'parent_type' => array('yes','in'),
             ),
             'type' => 'all',
             'col' => 'id,price',

+ 2 - 0
service/mail/lib/Manage.php

@@ -741,6 +741,8 @@ class Manage
             if($v['city']>0){
                 $where['area'] = $v['city'];
                 $data[$k]['citys']['area'] = $v['province'].','.$v['city'];
+                $where['parent_type'] = '1,3';
+                // print_R($where);die;
                 $jia = $this->caigou($where);
                 // $data[$k]['citys']['money'] = Dever::db('shop/buy_order')->getSerachMoney($where);
                 $data[$k]['citys']['price']= $jia['money'] * 0.01;