Kaynağa Gözat

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng 2 yıl önce
ebeveyn
işleme
e81cdd6898
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      app/youzan/logic/Goodup.php

+ 2 - 2
app/youzan/logic/Goodup.php

@@ -476,7 +476,7 @@ class Goodup
             $stn = ["order_code" => $rs->skuCode, "status" => $old_status, "action_remark" => '', "action_type" => "status"];
             ActionLog::logAdd(['id' => $uid, 'nickname' => $nickname], $stn, "YZSX", $db::$exam_status_0, ['id'=>$platform_youzan_id]);
 
-            $process = ["order_code" => $rs->skuCode, "order_id" => $rs->id, "order_status" => $db::$exam_status_0, "order_type" => 'YZSX', "before_status" => $old_status, 'holder_id' => 0];
+            $process = ["order_code" => $rs->skuCode, "order_id" => $rs->id, "order_status" => $db::$exam_status_0, "order_type" => 'YZSX', "before_status" => $old_status, 'holder_id' => $uid];
             ProcessOrder::AddProcess(['id' => $uid, 'nickname' => $nickname], $process);
 
             Db::commit();
@@ -691,7 +691,7 @@ class Goodup
             $stn = ["order_code" => $rs->skuCode, "status" => $old_status, "action_remark" => '', "action_type" => "status"];
             ActionLog::logAdd(['id' => $curl_data['uid'], ['nickname' => $curl_data['nickname']]], $stn, "YZSX", $db::$exam_status_8, $data);
 
-            $process = ["order_code" => $rs->skuCode, "order_id" => $rs->id, "order_status" => $db::$exam_status_8, "order_type" => 'YZSX', "before_status" => $old_status, 'holder_id' => 0];
+            $process = ["order_code" => $rs->skuCode, "order_id" => $rs->id, "order_status" => $db::$exam_status_8, "order_type" => 'YZSX', "before_status" => $old_status, 'holder_id' => $curl_data['uid']];
             ProcessOrder::AddProcess(['id' => $curl_data['uid'], ['nickname' => $curl_data['nickname']]], $process);
 
             Db::commit();