wugg hace 8 meses
padre
commit
40f25a9485
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/admin/controller/Activity.php

+ 1 - 1
app/admin/controller/Activity.php

@@ -200,7 +200,7 @@ class Activity extends Base
         }
         }
         $orderCode= isset($this->post['orderCode']) && $this->post['orderCode']!='' ? $this->post['orderCode']:'';
         $orderCode= isset($this->post['orderCode']) && $this->post['orderCode']!='' ? $this->post['orderCode']:'';
         if($orderCode!==''){
         if($orderCode!==''){
-            $where[]=['a.spuCode',"=",\app\admin\model\Sale::where('orderCode','=',$orderCode)->value('spuCode','')];
+            $where[]=['a.spuCode',"=",\app\admin\model\Sale::where('orderCode','=',$orderCode)->value('good_code','')];
         }
         }
         $count = Db::name('good_zixun')
         $count = Db::name('good_zixun')
             ->alias("a")
             ->alias("a")