|
@@ -280,8 +280,10 @@ class order
|
|
{
|
|
{
|
|
$ext = ['order_id' => $order_id, 'order_sn' => $order_sn, 'product_type' => $this->mThirdPorductType,
|
|
$ext = ['order_id' => $order_id, 'order_sn' => $order_sn, 'product_type' => $this->mThirdPorductType,
|
|
'account_type' => $this->mThirdCardType,
|
|
'account_type' => $this->mThirdCardType,
|
|
- 'quantity' => $this->mQuantity, 'user_account' => $this->mCardNo , 'pcode' => $this->mProductCode
|
|
|
|
|
|
+ 'quantity' => $this->mQuantity, 'user_account' => $this->mCardNo , 'pcode' => $this->mProductCode,
|
|
|
|
+ 'add_time' => time()
|
|
];
|
|
];
|
|
|
|
+
|
|
if($this->is_third() && $this->mThirdPorductType == mtopcard\ThirdElectricProduct) {
|
|
if($this->is_third() && $this->mThirdPorductType == mtopcard\ThirdElectricProduct) {
|
|
$ext['company_type'] = $this->mElecticExtes['company_type'];
|
|
$ext['company_type'] = $this->mElecticExtes['company_type'];
|
|
$ext['use_type'] = $this->mElecticExtes['use_type'];
|
|
$ext['use_type'] = $this->mElecticExtes['use_type'];
|