|
@@ -388,4 +388,40 @@ class order
|
|
|
|
|
|
return $params;
|
|
|
}
|
|
|
+
|
|
|
+ public function third_requeue_params($pcode)
|
|
|
+ {
|
|
|
+ $params = ['mchid' => $this->mMchid,
|
|
|
+ 'buyer_id' => $this->mBuyerId,
|
|
|
+ 'amount' => $this->mAmount,
|
|
|
+ 'card_no' => $this->mCardNo,
|
|
|
+ 'org_quality' => $this->mOriginQuality,
|
|
|
+ 'quality' => $this->mCurQuality,
|
|
|
+ 'mch_order' => $this->mMchOrder,
|
|
|
+ 'notify_url' => $this->mNotifyUrl,
|
|
|
+ 'idcard' => $this->mIdCard,
|
|
|
+ 'card_name' => $this->mCardName,
|
|
|
+ 'order_time' => $this->mOrderTime,
|
|
|
+ 'commit_times' => $this->mCommitTimes,
|
|
|
+ 'order_id' => $this->mLastOrderID,
|
|
|
+
|
|
|
+ 'card_type' => $this->mCardType,
|
|
|
+ 'third_product_type' => $this->mThirdPorductType,
|
|
|
+ 'third_card_type' => $this->mThirdCardType
|
|
|
+ ];
|
|
|
+
|
|
|
+ $params['product_code'] = $pcode;
|
|
|
+ if ($this->mThirdPorductType == mtopcard\ThirdElectricProduct) {
|
|
|
+ $params['company_type'] = $this->mThirdExtes['company_type'];
|
|
|
+ $params['use_type'] = $this->mThirdExtes['use_type'];
|
|
|
+ $params['province'] = $this->mThirdExtes['province'];
|
|
|
+ $params['city'] = $this->mThirdExtes['city'];
|
|
|
+ $params['card_id'] = $this->mThirdExtes['card_id'];
|
|
|
+ }
|
|
|
+ elseif ($this->mThirdPorductType == mtopcard\ThirdSinopecECouponPoroduct) {
|
|
|
+ $params['province'] = $this->mThirdExtes['province'];
|
|
|
+ }
|
|
|
+
|
|
|
+ return $params;
|
|
|
+ }
|
|
|
}
|