|
@@ -234,16 +234,14 @@ class order
|
|
|
$this->mIsValidate = true;
|
|
|
$this->mFirstCommit = true;
|
|
|
|
|
|
- if($this->mThirdPorductType == mtopcard\ThirdElectricProduct)
|
|
|
- {
|
|
|
+ if ($this->mThirdPorductType == mtopcard\ThirdElectricProduct) {
|
|
|
$this->mThirdExtes['company_type'] = $params['company_type'];
|
|
|
$this->mThirdExtes['use_type'] = $params['use_type'];
|
|
|
$this->mThirdExtes['province'] = $params['province'];
|
|
|
$this->mThirdExtes['city'] = $params['city'];
|
|
|
$this->mThirdExtes['card_id'] = $params['card_id'];
|
|
|
}
|
|
|
- elseif($this->mThirdPorductType == mtopcard\ThirdElectricProduct)
|
|
|
- {
|
|
|
+ elseif ($this->mThirdPorductType == mtopcard\ThirdSinopecECouponPoroduct) {
|
|
|
$this->mThirdExtes['province'] = $params['province'];
|
|
|
}
|
|
|
}
|
|
@@ -326,6 +324,9 @@ class order
|
|
|
$ext['city'] = $this->mThirdExtes['city'];
|
|
|
$ext['card_id'] = $this->mThirdExtes['card_id'];
|
|
|
}
|
|
|
+ elseif($this->mThirdPorductType == mtopcard\ThirdSinopecECouponPoroduct) {
|
|
|
+ $ext['province'] = $this->mThirdExtes['province'];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return $ext;
|