Browse Source

收货单 添加paypal

lvhao 3 months ago
parent
commit
fda5ce026f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/CoreApp/controllers/Returngoods.php

+ 2 - 1
core/CoreApp/controllers/Returngoods.php

@@ -1641,7 +1641,8 @@ class Returngoods extends Start_Controller {
 			$post['express'] = $this->input->post('express',true);//快递公司
 			$post['printtype'] = $this->input->post('printtype',true);//打印类型
 			$post['quantity'] = $this->input->post('quantity',true);//数量
-			$post['paypal'] = $this->input->post('paypal',true);//支付号
+            $paypal = $this->input->post('paypal',true);
+			$post['paypal'] = empty($paypal)?$post['orderinfo']:$paypal;//支付号
 			$post['guarantee'] = $this->input->post('guarantee',true);//卖家保障
 			$post['msg'] = $this->input->post('msg',true);//发送留言类型
 			$post['ioss'] = $this->input->post('ioss',true);