|
@@ -230,7 +230,7 @@ class JingBaiController extends O2oBaseController
|
|
|
$invoice = intval(Yii::app()->getRequest()->getParam('invoice',0));//默认不需要
|
|
|
$invoice_price = floatval(Yii::app()->getRequest()->getParam('invoicePrice',0));//发票价格
|
|
|
//参数不能为空
|
|
|
- if (empty($OrderNo) || empty($ProductId) ||empty($name) ||empty($mobile) ||empty($address) ||empty($memo) ||empty($count) ||empty($finalPrice) ||empty($booking_time) ) {
|
|
|
+ if (empty($OrderNo) || empty($ProductId) ||empty($name) ||empty($mobile) ||empty($address) ||empty($count) ||empty($finalPrice) ||empty($booking_time) ) {
|
|
|
if(empty($OrderNo)){
|
|
|
$tmp = 'orderNo';
|
|
|
} else if(empty($ProductId)){
|
|
@@ -241,8 +241,6 @@ class JingBaiController extends O2oBaseController
|
|
|
$tmp = 'Mobile';
|
|
|
}else if(empty($address)){
|
|
|
$tmp = 'Address';
|
|
|
- }else if(empty($memo)){
|
|
|
- $tmp = 'Memo';
|
|
|
}else if(empty($count)){
|
|
|
$tmp = 'Quantity';
|
|
|
}else if(empty($finalPrice)){
|