rabin 3 年之前
父节点
当前提交
1e25aac139
共有 2 个文件被更改,包括 12 次插入1 次删除
  1. 6 0
      service/agent/lib/Import.php
  2. 6 1
      service/agent/lib/Manage.php

+ 6 - 0
service/agent/lib/Import.php

@@ -427,6 +427,12 @@ class Import
         }
     }
 
+    # 图片本地化
+    public function local()
+    {
+        
+    }
+
     # 导入日志记录
     public function log($mid, $type, $before, $after, $update = false)
     {

+ 6 - 1
service/agent/lib/Manage.php

@@ -421,9 +421,14 @@ class Manage
                 }
             }
 
+            $update = array();
             if ($goods_cash) {
-                Dever::db('agent/order')->update(array('where_id' => $order['id'], 'goods_cash' => $goods_cash));
+                $update['goods_cash'] = $goods_cash;
+                
             }
+            $update['goods_status'] = 3;
+            $update['where_id'] = $order['id'];
+            Dever::db('agent/order')->update($update);
         }
     }